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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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/extension_model_associator.h
diff --git a/chrome/browser/sync/glue/extension_model_associator.h b/chrome/browser/sync/glue/extension_model_associator.h
index ab4eb9cf39ee81067a5d8c083d6df7bd8922639d..9f1c946091ae0b5f2ebc5e644a529752296db48c 100644
--- a/chrome/browser/sync/glue/extension_model_associator.h
+++ b/chrome/browser/sync/glue/extension_model_associator.h
@@ -21,16 +21,15 @@ namespace browser_sync {
// Contains all logic for associating the Chrome extensions model and
// the sync extensions model.
-class ExtensionModelAssociator : public AssociatorInterface {
+class ExtensionModelAssociator
+ : public NewAssociatorInterface {
public:
// Does not take ownership of sync_service.
ExtensionModelAssociator(const ExtensionSyncTraits& traits,
ExtensionServiceInterface* extension_service,
sync_api::UserShare* user_share);
- virtual ~ExtensionModelAssociator();
// Used by profile_sync_test_util.h.
- static syncable::ModelType model_type() { return syncable::EXTENSIONS; }
// AssociatorInterface implementation.
virtual bool AssociateModels();
@@ -42,6 +41,8 @@ class ExtensionModelAssociator : public AssociatorInterface {
}
virtual bool CryptoReadyIfNecessary();
private:
+ virtual ~ExtensionModelAssociator();
+
const ExtensionSyncTraits traits_;
ExtensionServiceInterface* const extension_service_;
sync_api::UserShare* const user_share_;

Powered by Google App Engine
This is Rietveld 408576698