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

Unified Diff: components/sync_driver/fake_data_type_controller.h

Issue 1314903004: Sync: Refactoring DataTypeController to make the design shareable with USS datatypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments Created 5 years, 3 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: components/sync_driver/fake_data_type_controller.h
diff --git a/components/sync_driver/fake_data_type_controller.h b/components/sync_driver/fake_data_type_controller.h
index 20b8204e31e51d777742322b1857c8749a8b0498..eff5068e592a85057ab064562461682d34d31d98 100644
--- a/components/sync_driver/fake_data_type_controller.h
+++ b/components/sync_driver/fake_data_type_controller.h
@@ -5,8 +5,8 @@
#ifndef COMPONENTS_SYNC_DRIVER_FAKE_DATA_TYPE_CONTROLLER_H__
#define COMPONENTS_SYNC_DRIVER_FAKE_DATA_TYPE_CONTROLLER_H__
-#include "components/sync_driver/data_type_controller.h"
#include "components/sync_driver/data_type_manager.h"
+#include "components/sync_driver/directory_data_type_controller.h"
namespace sync_driver {
@@ -19,7 +19,7 @@ namespace sync_driver {
// behavior of controllers. (It would be easier of the above classes
// used delegation instead of subclassing for per-data-type
// functionality.)
-class FakeDataTypeController : public DataTypeController {
+class FakeDataTypeController : public DirectoryDataTypeController {
public:
explicit FakeDataTypeController(syncer::ModelType type);
« no previous file with comments | « components/sync_driver/directory_data_type_controller.cc ('k') | components/sync_driver/fake_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698