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

Unified Diff: components/sync_driver/data_type_controller.h

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 years, 2 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/data_type_controller.h
diff --git a/components/sync_driver/data_type_controller.h b/components/sync_driver/data_type_controller.h
index 6604c3446c58ef05a0705cb3717717275db3116f..18b1d1a8871fb556eee5e60371f17aa2f5d2494b 100644
--- a/components/sync_driver/data_type_controller.h
+++ b/components/sync_driver/data_type_controller.h
@@ -36,20 +36,20 @@ class DataTypeController
public DataTypeErrorHandler {
public:
enum State {
- NOT_RUNNING, // The controller has never been started or has
- // previously been stopped. Must be in this state to start.
- MODEL_STARTING, // The controller is waiting on dependent services
- // that need to be available before model
- // association.
- MODEL_LOADED, // The model has finished loading and can start
- // associating now.
- ASSOCIATING, // Model association is in progress.
- RUNNING, // The controller is running and the data type is
- // in sync with the cloud.
- STOPPING, // The controller is in the process of stopping
- // and is waiting for dependent services to stop.
- DISABLED // The controller was started but encountered an error
- // so it is disabled waiting for it to be stopped.
+ NOT_RUNNING, // The controller has never been started or has previously
+ // been stopped. Must be in this state to start.
+ MODEL_STARTING, // The controller is waiting on dependent services
+ // that need to be available before model
+ // association.
+ MODEL_LOADED, // The model has finished loading and can start
+ // associating now.
+ ASSOCIATING, // Model association is in progress.
+ RUNNING, // The controller is running and the data type is
+ // in sync with the cloud.
+ STOPPING, // The controller is in the process of stopping
+ // and is waiting for dependent services to stop.
+ DISABLED // The controller was started but encountered an error
+ // so it is disabled waiting for it to be stopped.
};
// This enum is used for "Sync.*ConfigureFailre" histograms so the order
« no previous file with comments | « components/sync_driver/change_processor_mock.h ('k') | components/sync_driver/data_type_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698