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

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

Issue 7669073: [Sync] Add support for enabling session sync remotely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DOUBLE R..ebase Created 9 years, 4 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
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager.h ('k') | chrome/browser/sync/glue/data_type_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/data_type_manager_impl.h
diff --git a/chrome/browser/sync/glue/data_type_manager_impl.h b/chrome/browser/sync/glue/data_type_manager_impl.h
index 28c9751a119055212f88e36d50194432c11b7aaa..01af332f8afc1098d910ce680ade83b74cf5c59a 100644
--- a/chrome/browser/sync/glue/data_type_manager_impl.h
+++ b/chrome/browser/sync/glue/data_type_manager_impl.h
@@ -24,7 +24,7 @@ class SyncBackendHost;
class DataTypeManagerImpl : public DataTypeManager {
public:
DataTypeManagerImpl(SyncBackendHost* backend,
- const DataTypeController::TypeMap& controllers);
+ const DataTypeController::TypeMap* controllers);
virtual ~DataTypeManagerImpl();
// DataTypeManager interface.
@@ -36,7 +36,6 @@ class DataTypeManagerImpl : public DataTypeManager {
sync_api::ConfigureReason reason);
virtual void Stop();
- virtual const DataTypeController::TypeMap& controllers();
virtual State state();
private:
@@ -77,7 +76,7 @@ class DataTypeManagerImpl : public DataTypeManager {
SyncBackendHost* backend_;
// Map of all data type controllers that are available for sync.
// This list is determined at startup by various command line flags.
- const DataTypeController::TypeMap controllers_;
+ const DataTypeController::TypeMap* controllers_;
State state_;
std::map<syncable::ModelType, int> start_order_;
TypeSet last_requested_types_;
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager.h ('k') | chrome/browser/sync/glue/data_type_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698