| 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 ccb4606d012d8262fdf23029002ef1b62b49c782..90a9af5a19b18c5e0734637295ff7d70a874fa96 100644
|
| --- a/chrome/browser/sync/profile_sync_service.h
|
| +++ b/chrome/browser/sync/profile_sync_service.h
|
| @@ -549,11 +549,10 @@ class ProfileSyncService : public ProfileSyncServiceBase,
|
| const tracked_objects::Location& from_here,
|
| const std::string& message) OVERRIDE;
|
|
|
| - // Called when a datatype wishes to disable itself. Note, this does not change
|
| + // Called when a datatype wishes to disable itself. The datatype to be
|
| + // disabled is passed via |error.model_type()|. 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);
|
| + virtual void DisableDatatype(const syncer::SyncError& error);
|
|
|
| // 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
|
|
|