Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: chrome/browser/sync/glue/autofill_profile_data_type_controller.h

Issue 9264062: [Sync] Consolidate DataTypeController methods that post on the backend thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add suppressions Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/autofill_profile_data_type_controller.h
diff --git a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
index e5299386839649c268b656e3fd7741b0e566259a..cacbdbbd96505256c2ee82c51c7e6bd11fb7cef1 100644
--- a/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
+++ b/chrome/browser/sync/glue/autofill_profile_data_type_controller.h
@@ -42,27 +42,28 @@ class AutofillProfileDataTypeController
virtual void OnPersonalDataChanged() OVERRIDE;
protected:
- // NewNonFrontendDataTypeController implementation.
- virtual bool StartModels() OVERRIDE;
- virtual bool StartAssociationAsync() OVERRIDE;
- virtual base::WeakPtr<SyncableService> GetWeakPtrToSyncableService()
- const OVERRIDE;
- virtual void StopModels() OVERRIDE;
- virtual void StopLocalServiceAsync() OVERRIDE;
- virtual void RecordUnrecoverableError(
- const tracked_objects::Location& from_here,
- const std::string& message) OVERRIDE;
- virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE;
- virtual void RecordStartFailure(StartResult result) OVERRIDE;
+ // NewNonFrontendDataTypeController implementation.
+ virtual bool PostTaskOnBackendThread(
+ const tracked_objects::Location& from_here,
+ const base::Closure& task) OVERRIDE;
+ virtual bool StartModels() OVERRIDE;
+ virtual base::WeakPtr<SyncableService> GetWeakPtrToSyncableService()
+ const OVERRIDE;
+ virtual void StopModels() OVERRIDE;
+ virtual void RecordUnrecoverableError(
+ const tracked_objects::Location& from_here,
+ const std::string& message) OVERRIDE;
+ virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE;
+ virtual void RecordStartFailure(StartResult result) OVERRIDE;
- void DoStartAssociationAsync();
+ void DoStartAssociationAsync();
private:
- PersonalDataManager* personal_data_;
- scoped_refptr<WebDataService> web_data_service_;
- content::NotificationRegistrar notification_registrar_;
+ PersonalDataManager* personal_data_;
+ scoped_refptr<WebDataService> web_data_service_;
+ content::NotificationRegistrar notification_registrar_;
- DISALLOW_COPY_AND_ASSIGN(AutofillProfileDataTypeController);
+ DISALLOW_COPY_AND_ASSIGN(AutofillProfileDataTypeController);
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698