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

Unified Diff: chrome/browser/sync/glue/app_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/app_data_type_controller.h
diff --git a/chrome/browser/sync/glue/app_data_type_controller.h b/chrome/browser/sync/glue/app_data_type_controller.h
index 93bd51799ce24d9341b23e570b035e4e567a6215..ff22d065924b21ecaa5d510e2db58a0422ce0c12 100644
--- a/chrome/browser/sync/glue/app_data_type_controller.h
+++ b/chrome/browser/sync/glue/app_data_type_controller.h
@@ -8,6 +8,7 @@
#include <string>
+#include "chrome/browser/sync/glue/generic_change_processor.h"
#include "chrome/browser/sync/glue/frontend_data_type_controller.h"
namespace browser_sync {
@@ -23,6 +24,9 @@ class AppDataTypeController : public FrontendDataTypeController {
// DataTypeController implementation.
virtual syncable::ModelType type() const;
+ protected:
+ virtual GenericChangeProcessor* change_processor() const OVERRIDE;
+
private:
// DataTypeController implementations.
virtual bool StartModels();
@@ -33,6 +37,8 @@ class AppDataTypeController : public FrontendDataTypeController {
virtual void RecordAssociationTime(base::TimeDelta time);
virtual void RecordStartFailure(StartResult result);
+ scoped_ptr<GenericChangeProcessor> change_processor_;
+
DISALLOW_COPY_AND_ASSIGN(AppDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698