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

Unified Diff: components/sync_driver/non_blocking_data_type_manager.h

Issue 351523003: sync: Mass rename of non-blocking sync classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes Created 6 years, 6 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/non_blocking_data_type_manager.h
diff --git a/components/sync_driver/non_blocking_data_type_manager.h b/components/sync_driver/non_blocking_data_type_manager.h
index 49e85b31d8a933dbf8595c61176ad3a0b3cf8055..e6b808f49839cb1a87fb1d5a45149ef39e637731 100644
--- a/components/sync_driver/non_blocking_data_type_manager.h
+++ b/components/sync_driver/non_blocking_data_type_manager.h
@@ -18,8 +18,8 @@ class SequencedTaskRunner;
} // namespace base
namespace syncer {
-class NonBlockingTypeProcessor;
-class SyncCoreProxy;
+class ModelTypeSyncProxyImpl;
+class SyncContextProxy;
} //namespace syncer
namespace browser_sync {
@@ -42,16 +42,16 @@ class NonBlockingDataTypeManager {
// The |preferred| flag indicates whether or not this type should be synced.
void RegisterType(syncer::ModelType type, bool preferred);
- // Connects the NonBlockingTypeProcessor and associated model type
+ // Connects the ModelTypeSyncProxyImpl and associated model type
// thread to its NonBlockingDataTypeController on the UI thread.
- void InitializeTypeProcessor(
+ void InitializeTypeSyncProxy(
stanisc 2014/06/24 21:59:01 Consider a shorter function name, for example Init
rlarocque 2014/06/24 23:08:32 Done.
syncer::ModelType type,
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
- const base::WeakPtr<syncer::NonBlockingTypeProcessor>& processor);
+ const base::WeakPtr<syncer::ModelTypeSyncProxyImpl>& type_sync_proxy);
- // Connects the sync backend, as represented by a SyncCoreProxy, to the
+ // Connects the sync backend, as represented by a SyncContextProxy, to the
// NonBlockingDataTypeController on the UI thread.
- void ConnectSyncBackend(scoped_ptr<syncer::SyncCoreProxy> proxy);
+ void ConnectSyncBackend(scoped_ptr<syncer::SyncContextProxy> proxy);
// Disconnects the sync backend from the UI thread. Should be called
// early on during shutdown, but the whole procedure is asynchronous so

Powered by Google App Engine
This is Rietveld 408576698