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

Unified Diff: sync/internal_api/public/model_type_processor.h

Issue 1382743004: [Sync] Move ModelTypeProcessor* and rename *Impl to Shared*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 2 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/model_type_worker_unittest.cc ('k') | sync/internal_api/public/model_type_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/model_type_processor.h
diff --git a/sync/engine/model_type_processor.h b/sync/internal_api/public/model_type_processor.h
similarity index 85%
rename from sync/engine/model_type_processor.h
rename to sync/internal_api/public/model_type_processor.h
index 0cb8581177f1c8ae0f7690902f5778bbacc4deb8..0f1971ef3714039678e62bdf5e7337719a279218 100644
--- a/sync/engine/model_type_processor.h
+++ b/sync/internal_api/public/model_type_processor.h
@@ -2,15 +2,15 @@
// 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_PROCESSOR_H_
-#define SYNC_ENGINE_MODEL_TYPE_PROCESSOR_H_
+#ifndef SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
+#define SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
-#include "sync/engine/commit_queue.h"
#include "sync/internal_api/public/non_blocking_sync_common.h"
namespace syncer_v2 {
+class CommitQueue;
// Interface used by sync backend to issue requests to a synced data type.
class SYNC_EXPORT_PRIVATE ModelTypeProcessor {
@@ -37,4 +37,4 @@ class SYNC_EXPORT_PRIVATE ModelTypeProcessor {
} // namespace syncer
-#endif // SYNC_ENGINE_MODEL_TYPE_PROCESSOR_H_
+#endif // SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
« no previous file with comments | « sync/engine/model_type_worker_unittest.cc ('k') | sync/internal_api/public/model_type_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698