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

Unified Diff: components/sync_driver/non_blocking_data_type_controller.h

Issue 1325453003: [Sync] rename USS processor / worker interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update base on comments Created 5 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 | « no previous file | components/sync_driver/non_blocking_data_type_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/non_blocking_data_type_controller.h
diff --git a/components/sync_driver/non_blocking_data_type_controller.h b/components/sync_driver/non_blocking_data_type_controller.h
index cc8a70faf4e51659a9e18eff80cf8f92628f5662..d3fa9de634d8ce65e7b556eafe377ab3a0626bc3 100644
--- a/components/sync_driver/non_blocking_data_type_controller.h
+++ b/components/sync_driver/non_blocking_data_type_controller.h
@@ -12,7 +12,7 @@
#include "sync/internal_api/public/sync_context_proxy.h"
namespace syncer {
-class ModelTypeSyncProxy;
+class ModelTypeProcessor;
}
namespace sync_driver_v2 {
@@ -22,10 +22,10 @@ namespace sync_driver_v2 {
//
// There are three main parts to this controller:
// - The SyncContextProxy, represening the sync thread.
-// - The ModelTypeSyncProxy, representing the model type thread.
+// - The ModelTypeProcessor, representing the model type thread.
// - The user-set state for this type (prefs), which lives on the UI thread.
//
-// The ModelTypeSyncProxy can exist in three different states. Those
+// The ModelTypeProcessor can exist in three different states. Those
// states are:
// - Enabled: Changes are being synced.
// - Disconnected: Changes would be synced, but there is no connection between
@@ -38,7 +38,7 @@ namespace sync_driver_v2 {
// of these states. It does this by posting tasks to the model type thread.
//
// The type proxy is enabled when the user has indicated a desire to sync this
-// type, and the ModelTypeSyncProxy and SyncContextProxy are available.
+// type, and the ModelTypeProcessor and SyncContextProxy are available.
//
// The type proxy is disconnected during initialization, or when either the
// NonBlockingDataTypeController or SyncContextProxy have not yet registered.
@@ -57,7 +57,7 @@ class NonBlockingDataTypeController {
NonBlockingDataTypeController(syncer::ModelType type, bool is_preferred);
~NonBlockingDataTypeController();
- // Connects the ModelTypeSyncProxy to this controller.
+ // Connects the ModelTypeProcessor to this controller.
//
// There is no "undo" for this operation. The NonBlockingDataTypeController
// will only ever deal with a single type proxy.
« no previous file with comments | « no previous file | components/sync_driver/non_blocking_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698