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

Unified Diff: chrome/browser/sync/glue/fake_data_type_controller.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
Index: chrome/browser/sync/glue/fake_data_type_controller.h
diff --git a/chrome/browser/sync/glue/fake_data_type_controller.h b/chrome/browser/sync/glue/fake_data_type_controller.h
index 9978f8ca845cda5f96e8d0f65c0ed0925b97dafe..e8f4132efa5323aa6c38bb250bd5c3db605ed339 100644
--- a/chrome/browser/sync/glue/fake_data_type_controller.h
+++ b/chrome/browser/sync/glue/fake_data_type_controller.h
@@ -54,14 +54,19 @@ class FakeDataTypeController : public DataTypeController {
const tracked_objects::Location& from_here,
const std::string& message) OVERRIDE;
+ virtual void SetDelayModelLoad();
+
+ virtual void SimulateModelLoadFinishing();
+
protected:
virtual ~FakeDataTypeController();
-
private:
DataTypeController::State state_;
+ bool model_load_delayed_;
syncable::ModelType type_;
StartCallback last_start_callback_;
+ ModelLoadCallback model_load_callback_;
};
} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | chrome/browser/sync/glue/fake_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698