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

Unified Diff: trunk/src/components/sync_driver/fake_data_type_controller.h

Issue 468643002: Revert 288464 "[Sync] Cleanup datatype configuration error handl..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/components/sync_driver/fake_data_type_controller.h
===================================================================
--- trunk/src/components/sync_driver/fake_data_type_controller.h (revision 289114)
+++ trunk/src/components/sync_driver/fake_data_type_controller.h (working copy)
@@ -25,29 +25,35 @@
virtual void LoadModels(
const ModelLoadCallback& model_load_callback) OVERRIDE;
+
virtual void OnModelLoaded() OVERRIDE;
+
virtual void StartAssociating(const StartCallback& start_callback) OVERRIDE;
+
+ void FinishStart(StartResult result);
+
virtual void Stop() OVERRIDE;
+
virtual syncer::ModelType type() const OVERRIDE;
+
virtual std::string name() const OVERRIDE;
+
virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE;
+
virtual ChangeProcessor* GetChangeProcessor() const OVERRIDE;
+
virtual State state() const OVERRIDE;
+
virtual void OnSingleDatatypeUnrecoverableError(
const tracked_objects::Location& from_here,
const std::string& message) OVERRIDE;
- virtual bool ReadyForStart() const OVERRIDE;
- void FinishStart(ConfigureResult result);
+ virtual void SetDelayModelLoad();
- void SetDelayModelLoad();
-
void SetModelLoadError(syncer::SyncError error);
- void SimulateModelLoadFinishing();
+ virtual void SimulateModelLoadFinishing();
- void SetReadyForStart(bool ready);
-
protected:
virtual ~FakeDataTypeController();
@@ -58,7 +64,6 @@
StartCallback last_start_callback_;
ModelLoadCallback model_load_callback_;
syncer::SyncError load_error_;
- bool ready_for_start_;
};
} // namespace sync_driver

Powered by Google App Engine
This is Rietveld 408576698