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

Unified Diff: sync/sessions/model_type_registry.h

Issue 1325453003: [Sync] rename USS processor / worker interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: sync/sessions/model_type_registry.h
diff --git a/sync/sessions/model_type_registry.h b/sync/sessions/model_type_registry.h
index 3e04b79c09939099889edf1254ca4b74929023f7..f6f480487f2d01b49bae8208d382e1788d8b0643 100644
--- a/sync/sessions/model_type_registry.h
+++ b/sync/sessions/model_type_registry.h
@@ -22,8 +22,8 @@
namespace syncer_v2 {
struct DataTypeState;
-class ModelTypeSyncWorkerImpl;
-class ModelTypeSyncProxyImpl;
+class CommitQueueImpl;
+class ModelTypeProcessorImpl;
}
namespace syncer {
@@ -66,7 +66,7 @@ class SYNC_EXPORT_PRIVATE ModelTypeRegistry
const syncer_v2::DataTypeState& data_type_state,
const syncer_v2::UpdateResponseDataList& saved_pending_updates,
const scoped_refptr<base::SequencedTaskRunner>& type_task_runner,
- const base::WeakPtr<syncer_v2::ModelTypeSyncProxyImpl>& proxy) override;
+ const base::WeakPtr<syncer_v2::ModelTypeProcessorImpl>& proxy) override;
// Disables the syncing of an off-thread type.
//
@@ -120,7 +120,7 @@ class SYNC_EXPORT_PRIVATE ModelTypeRegistry
ScopedVector<DirectoryTypeDebugInfoEmitter>
directory_type_debug_info_emitters_;
- ScopedVector<syncer_v2::ModelTypeSyncWorkerImpl> model_type_sync_workers_;
+ ScopedVector<syncer_v2::CommitQueueImpl> commit_queues_;
// Maps of UpdateHandlers and CommitContributors.
// They do not own any of the objects they point to.

Powered by Google App Engine
This is Rietveld 408576698