| Index: chrome/browser/sync/profile_sync_service.h
|
| diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
|
| index 2160193ac3917bad47c6447fc5c7eec7e3920018..0bc70b0c6dc7cbc26b4e64218b0666475e8a05ff 100644
|
| --- a/chrome/browser/sync/profile_sync_service.h
|
| +++ b/chrome/browser/sync/profile_sync_service.h
|
| @@ -545,12 +545,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.
|
|
|