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

Unified Diff: components/sync/core/model_type_processor.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « components/sync/core/model_type_connector.cc ('k') | components/sync/core/model_type_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/model_type_processor.h
diff --git a/sync/internal_api/public/model_type_processor.h b/components/sync/core/model_type_processor.h
similarity index 73%
rename from sync/internal_api/public/model_type_processor.h
rename to components/sync/core/model_type_processor.h
index e877dc5ac69688bb339919517e0fc18c76ba1ca3..43ee6f34f31e80b14676b42783a2651da263e1d7 100644
--- a/sync/internal_api/public/model_type_processor.h
+++ b/components/sync/core/model_type_processor.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
-#define SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
+#ifndef COMPONENTS_SYNC_CORE_MODEL_TYPE_PROCESSOR_H_
+#define COMPONENTS_SYNC_CORE_MODEL_TYPE_PROCESSOR_H_
#include <memory>
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/non_blocking_sync_common.h"
-#include "sync/protocol/data_type_state.pb.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/core/non_blocking_sync_common.h"
+#include "components/sync/protocol/data_type_state.pb.h"
namespace syncer_v2 {
class CommitQueue;
@@ -39,11 +39,10 @@ class SYNC_EXPORT ModelTypeProcessor {
// Informs this object that there are some incoming updates is should
// handle.
- virtual void OnUpdateReceived(
- const sync_pb::DataTypeState& type_state,
- const UpdateResponseDataList& updates) = 0;
+ virtual void OnUpdateReceived(const sync_pb::DataTypeState& type_state,
+ const UpdateResponseDataList& updates) = 0;
};
} // namespace syncer_v2
-#endif // SYNC_INTERNAL_API_PUBLIC_MODEL_TYPE_PROCESSOR_H_
+#endif // COMPONENTS_SYNC_CORE_MODEL_TYPE_PROCESSOR_H_
« no previous file with comments | « components/sync/core/model_type_connector.cc ('k') | components/sync/core/model_type_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698