[Sync] Add support for dynamically enabling/disabling types
commit6376f2f7eedd33afd7bb22eb05dfc890bd3b36b9
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 09:48:51 +0000 (20 09:48 +0000)
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 09:48:51 +0000 (20 09:48 +0000)
tree4b1f15560f578d9bf85c11988ba03e30f5ec6377
parenta4e4c6a53d43bbdf2b6ea8b839f16d1b0a01379b
[Sync] Add support for dynamically enabling/disabling types

The notion of Unready types is also introduced for those types which control whether
they should run, and therefore for which a configuration (which might
involve network access) should not even be performed.

BUG=368834

Review URL: https://codereview.chromium.org/312163004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278658 0039d316-1c4b-4281-b951-d872f2087c98
22 files changed:
chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
chrome/browser/sync/glue/frontend_data_type_controller.cc
chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
chrome/browser/sync/glue/non_frontend_data_type_controller.cc
chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
chrome/browser/sync/glue/sync_backend_host_impl.cc
chrome/browser/sync/glue/typed_url_data_type_controller.cc
chrome/browser/sync/profile_sync_components_factory_impl.cc
chrome/browser/sync/profile_sync_service.cc
chrome/browser/sync/profile_sync_service.h
chrome/browser/sync/profile_sync_service_mock.h
components/sync_driver/backend_data_type_configurer.h
components/sync_driver/data_type_controller.cc
components/sync_driver/data_type_controller.h
components/sync_driver/data_type_manager.cc
components/sync_driver/data_type_manager_impl.cc
components/sync_driver/data_type_manager_impl_unittest.cc
components/sync_driver/failed_data_types_handler.cc
components/sync_driver/failed_data_types_handler.h
components/sync_driver/ui_data_type_controller.h
sync/api/sync_error.cc
sync/api/sync_error.h