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

Unified Diff: components/sync/engine_impl/get_updates_delegate.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/engine_impl/get_commit_ids.cc ('k') | components/sync/engine_impl/get_updates_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/get_updates_delegate.h
diff --git a/sync/engine/get_updates_delegate.h b/components/sync/engine_impl/get_updates_delegate.h
similarity index 86%
rename from sync/engine/get_updates_delegate.h
rename to components/sync/engine_impl/get_updates_delegate.h
index 09765a8310741f94fc846ed7af1a9eadb5e9aee3..73ad8086706f283531486ef6f085b001c9b6a2d6 100644
--- a/sync/engine/get_updates_delegate.h
+++ b/components/sync/engine_impl/get_updates_delegate.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_ENGINE_GET_UPDATES_DELEGATE_H_
-#define SYNC_ENGINE_GET_UPDATES_DELEGATE_H_
+#ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_
+#define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_
#include <memory>
#include "base/macros.h"
-#include "sync/internal_api/public/events/protocol_event.h"
-#include "sync/protocol/sync.pb.h"
-#include "sync/sessions/model_type_registry.h"
-#include "sync/sessions/nudge_tracker.h"
-#include "sync/sessions/status_controller.h"
+#include "components/sync/engine/events/protocol_event.h"
+#include "components/sync/protocol/sync.pb.h"
+#include "components/sync/sessions_impl/model_type_registry.h"
+#include "components/sync/sessions_impl/nudge_tracker.h"
+#include "components/sync/sessions_impl/status_controller.h"
namespace syncer {
@@ -32,10 +32,9 @@ class SYNC_EXPORT GetUpdatesDelegate {
sync_pb::GetUpdatesMessage* get_updates) const = 0;
// Applies pending updates to non-control types.
- virtual void ApplyUpdates(
- ModelTypeSet gu_types,
- sessions::StatusController* status,
- UpdateHandlerMap* update_handler_map) const = 0;
+ virtual void ApplyUpdates(ModelTypeSet gu_types,
+ sessions::StatusController* status,
+ UpdateHandlerMap* update_handler_map) const = 0;
virtual std::unique_ptr<ProtocolEvent> GetNetworkRequestEvent(
base::Time timestamp,
@@ -125,4 +124,4 @@ class SYNC_EXPORT PollGetUpdatesDelegate : public GetUpdatesDelegate {
} // namespace syncer
-#endif // SYNC_ENGINE_GET_UPDATES_DELEGATE_H_
+#endif // SYNC_ENGINE_IMPL_GET_UPDATES_DELEGATE_H_
« no previous file with comments | « components/sync/engine_impl/get_commit_ids.cc ('k') | components/sync/engine_impl/get_updates_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698