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

Unified Diff: sync/engine/commit_queue.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/commit_queue.h
diff --git a/sync/engine/model_type_sync_worker.h b/sync/engine/commit_queue.h
similarity index 58%
rename from sync/engine/model_type_sync_worker.h
rename to sync/engine/commit_queue.h
index 081130c82a5c4b74eb67d822b59b937fdb72ab6a..59219d4cd44adce0670d25b48710ebdd13552127 100644
--- a/sync/engine/model_type_sync_worker.h
+++ b/sync/engine/commit_queue.h
@@ -2,23 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
-#define SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
+#ifndef SYNC_ENGINE_COMMIT_QUEUE_H_
+#define SYNC_ENGINE_COMMIT_QUEUE_H_
#include "sync/internal_api/public/non_blocking_sync_common.h"
namespace syncer_v2 {
// Interface used by a synced data type to issue requests to the sync backend.
-class SYNC_EXPORT_PRIVATE ModelTypeSyncWorker {
+class SYNC_EXPORT_PRIVATE CommitQueue {
public:
- ModelTypeSyncWorker();
- virtual ~ModelTypeSyncWorker();
+ CommitQueue();
+ virtual ~CommitQueue();
- // Entry point for the ModelTypeSyncProxy to send commit requests.
+ // Entry point for the ModelTypeProcessor to send commit requests.
virtual void EnqueueForCommit(const CommitRequestDataList& list) = 0;
};
} // namespace syncer
-#endif // SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
+#endif // SYNC_ENGINE_COMMIT_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698