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

Unified Diff: chrome/browser/sync/glue/theme_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/theme_model_associator.h
diff --git a/chrome/browser/sync/glue/theme_model_associator.h b/chrome/browser/sync/glue/theme_model_associator.h
index e76b5bd482e50d61ee320e92ccace27f3fd26cce..19e096d977a38aabafec72107b9a0521da301500 100644
--- a/chrome/browser/sync/glue/theme_model_associator.h
+++ b/chrome/browser/sync/glue/theme_model_associator.h
@@ -18,13 +18,10 @@ class UnrecoverableErrorHandler;
// Contains all logic for associating the Chrome themes model and the
// sync themes model.
-class ThemeModelAssociator : public AssociatorInterface {
+class ThemeModelAssociator
+ : public NewAssociatorInterface {
public:
explicit ThemeModelAssociator(ProfileSyncService* sync_service);
- virtual ~ThemeModelAssociator();
-
- // Used by profile_sync_test_util.h.
- static syncable::ModelType model_type() { return syncable::THEMES; }
// AssociatorInterface implementation.
virtual bool AssociateModels();
@@ -36,6 +33,9 @@ class ThemeModelAssociator : public AssociatorInterface {
}
virtual bool CryptoReadyIfNecessary();
+ protected:
+ virtual ~ThemeModelAssociator();
+
private:
ProfileSyncService* sync_service_;

Powered by Google App Engine
This is Rietveld 408576698