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

Unified Diff: sync/engine/non_blocking_type_commit_contribution.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/engine/non_blocking_type_commit_contribution.h
diff --git a/sync/engine/non_blocking_type_commit_contribution.h b/sync/engine/non_blocking_type_commit_contribution.h
index 3a258b93abb0e098f9e53b6f72d37c31b9ffed76..5f88250e6e25d3fbdca7e5195b0c9755138577ee 100644
--- a/sync/engine/non_blocking_type_commit_contribution.h
+++ b/sync/engine/non_blocking_type_commit_contribution.h
@@ -13,19 +13,19 @@
namespace syncer_v2 {
-class ModelTypeSyncWorkerImpl;
+class CommitQueueImpl;
// A non-blocking sync type's contribution to an outgoing commit message.
//
// Helps build a commit message and process its response. It collaborates
-// closely with the ModelTypeSyncWorkerImpl.
+// closely with the CommitQueueImpl.
class NonBlockingTypeCommitContribution : public syncer::CommitContribution {
public:
NonBlockingTypeCommitContribution(
const sync_pb::DataTypeContext& context,
const google::protobuf::RepeatedPtrField<sync_pb::SyncEntity>& entities,
const std::vector<int64>& sequence_numbers,
- ModelTypeSyncWorkerImpl* worker);
+ CommitQueueImpl* worker);
~NonBlockingTypeCommitContribution() override;
// Implementation of CommitContribution
@@ -38,7 +38,7 @@ class NonBlockingTypeCommitContribution : public syncer::CommitContribution {
private:
// A non-owned pointer back to the object that created this contribution.
- ModelTypeSyncWorkerImpl* const worker_;
+ CommitQueueImpl* const worker_;
// The type-global context information.
const sync_pb::DataTypeContext context_;

Powered by Google App Engine
This is Rietveld 408576698