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

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

Issue 10387144: [Sync] - Implement isolated model association. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For submitting. Created 8 years, 7 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.cc ('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 b01831a4f583c826cf9e6bbc818ccf25b6148258..eb01e23ce17fce58296e0aab7ed7b4caaaf9a282 100644
--- a/chrome/browser/sync/glue/data_type_manager_impl.h
+++ b/chrome/browser/sync/glue/data_type_manager_impl.h
@@ -45,6 +45,13 @@ class DataTypeManagerImpl : public DataTypeManager,
// |ModelAssociationResultProcessor| implementation.
virtual void OnModelAssociationDone(
const DataTypeManager::ConfigureResult& result) OVERRIDE;
+ virtual void OnTypesLoaded() OVERRIDE;
+
+ // Used by unit tests. TODO(sync) : This would go away if we made
+ // this class be able to do Dependency injection. crbug.com/129212.
+ ModelAssociationManager* GetModelAssociationManagerForTesting() {
+ return &model_association_manager_;
+ }
private:
// Stops all data types.
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager.cc ('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