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

Unified Diff: sync/engine/model_type_processor.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 | « sync/engine/entity_tracker_unittest.cc ('k') | sync/engine/model_type_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/model_type_processor.h
diff --git a/sync/engine/model_type_sync_proxy.h b/sync/engine/model_type_processor.h
similarity index 67%
rename from sync/engine/model_type_sync_proxy.h
rename to sync/engine/model_type_processor.h
index 5385542572d81ca31f9610cd6067d926981e1a5d..53e2ea4d5cd30ffcc781d81a827277222f46e132 100644
--- a/sync/engine/model_type_sync_proxy.h
+++ b/sync/engine/model_type_processor.h
@@ -2,8 +2,8 @@
// 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_PROXY_H_
-#define SYNC_ENGINE_MODEL_TYPE_SYNC_PROXY_H_
+#ifndef SYNC_ENGINE_MODEL_TYPE_PROCESSOR_H_
+#define SYNC_ENGINE_MODEL_TYPE_PROCESSOR_H_
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/non_blocking_sync_common.h"
@@ -11,11 +11,13 @@
namespace syncer_v2 {
// Interface used by sync backend to issue requests to a synced data type.
-class SYNC_EXPORT_PRIVATE ModelTypeSyncProxy {
+class SYNC_EXPORT_PRIVATE ModelTypeProcessor {
public:
- ModelTypeSyncProxy();
- virtual ~ModelTypeSyncProxy();
+ ModelTypeProcessor();
+ virtual ~ModelTypeProcessor();
+ // TODO(gangwu): 525830 add OnConnect method here. And also add comments for
+ // all the functions.
virtual void OnCommitCompleted(
const DataTypeState& type_state,
const CommitResponseDataList& response_list) = 0;
@@ -27,4 +29,4 @@ class SYNC_EXPORT_PRIVATE ModelTypeSyncProxy {
} // namespace syncer
-#endif // SYNC_ENGINE_MODEL_TYPE_SYNC_PROXY_H_
+#endif // SYNC_ENGINE_MODEL_TYPE_PROCESSOR_H_
« no previous file with comments | « sync/engine/entity_tracker_unittest.cc ('k') | sync/engine/model_type_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698