diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-06-25 10:30:53 +0100 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-06-25 10:30:53 +0100 |
commit | 6d86b77056ed63eb6871182f42a9fd5f07550f90 (patch) | |
tree | 4bd56255660f52e406fbd45083c006cd6ddb2877 /chrome/browser/sync/profile_sync_service.h | |
parent | e9f930807da3850e29ecc641d2becc0403b5709c (diff) | |
download | chromium_org-6d86b77056ed63eb6871182f42a9fd5f07550f90.tar.gz |
Merge from Chromium at DEPS revision 278856
This commit was generated by merge_to_master.py.
Change-Id: If3807744d3e5d3ee84b897bd2d099a2b7ed2e7a3
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h index 15cd560546..0325d0d15e 100644 --- a/chrome/browser/sync/profile_sync_service.h +++ b/chrome/browser/sync/profile_sync_service.h @@ -60,10 +60,6 @@ namespace base { class CommandLine; }; -namespace extensions { -struct Event; -} - namespace browser_sync { class BackendMigrator; class ChangeProcessor; @@ -553,12 +549,16 @@ class ProfileSyncService : public ProfileSyncServiceBase, const tracked_objects::Location& from_here, const std::string& message) OVERRIDE; - // Called when a datatype wishes to disable itself due to having hit an - // unrecoverable error. - virtual void DisableBrokenDatatype( - syncer::ModelType type, - const tracked_objects::Location& from_here, - std::string message); + // Called when a datatype wishes to disable itself. Note, this does not change + // preferred state of a datatype and is not persisted across restarts. + virtual void DisableDatatype(syncer::ModelType type, + const tracked_objects::Location& from_here, + std::string message); + + // Called to re-enable a type disabled by DisableDatatype(..). Note, this does + // not change the preferred state of a datatype, and is not persisted across + // restarts. + void ReenableDatatype(syncer::ModelType type); // The functions below (until ActivateDataType()) should only be // called if sync_initialized() is true. |