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

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

Issue 8065016: [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 2 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/preference_data_type_controller.h
diff --git a/chrome/browser/sync/glue/preference_data_type_controller.h b/chrome/browser/sync/glue/preference_data_type_controller.h
index 6f3d009ab685e69c1f25a2923d4dfc9dcfcffac9..86aaf32b9d04ddeb333d6dd966dab2d09dc007c6 100644
--- a/chrome/browser/sync/glue/preference_data_type_controller.h
+++ b/chrome/browser/sync/glue/preference_data_type_controller.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/compiler_specific.h"
+#include "chrome/browser/sync/glue/generic_change_processor.h"
#include "chrome/browser/sync/glue/frontend_data_type_controller.h"
namespace browser_sync {
@@ -24,6 +25,9 @@ class PreferenceDataTypeController : public FrontendDataTypeController {
// FrontendDataTypeController implementation.
virtual syncable::ModelType type() const OVERRIDE;
+ protected:
+ virtual GenericChangeProcessor* change_processor() const OVERRIDE;
+
private:
// FrontendDataTypeController implementations.
virtual void CreateSyncComponents() OVERRIDE;
@@ -33,6 +37,8 @@ class PreferenceDataTypeController : public FrontendDataTypeController {
virtual void RecordAssociationTime(base::TimeDelta time) OVERRIDE;
virtual void RecordStartFailure(StartResult result) OVERRIDE;
+ scoped_ptr<GenericChangeProcessor> change_processor_;
+
DISALLOW_COPY_AND_ASSIGN(PreferenceDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698