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

Unified Diff: components/sync/engine/events/poll_get_updates_request_event.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
Index: components/sync/engine/events/poll_get_updates_request_event.h
diff --git a/sync/internal_api/public/events/poll_get_updates_request_event.h b/components/sync/engine/events/poll_get_updates_request_event.h
similarity index 64%
rename from sync/internal_api/public/events/poll_get_updates_request_event.h
rename to components/sync/engine/events/poll_get_updates_request_event.h
index 460084c485e44b8462129512065acde866e43cd8..0c2076bed42fa7d1f6412f134e547fc0e29c618a 100644
--- a/sync/internal_api/public/events/poll_get_updates_request_event.h
+++ b/components/sync/engine/events/poll_get_updates_request_event.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_INTERNAL_API_PUBLIC_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_
-#define SYNC_INTERNAL_API_PUBLIC_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_
+#ifndef COMPONENTS_SYNC_ENGINE_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_
+#define COMPONENTS_SYNC_ENGINE_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_
#include <memory>
#include <string>
@@ -11,10 +11,10 @@
#include "base/macros.h"
#include "base/time/time.h"
#include "base/values.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/internal_api/public/events/protocol_event.h"
-#include "sync/protocol/sync.pb.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/engine/events/protocol_event.h"
+#include "components/sync/protocol/sync.pb.h"
namespace syncer {
@@ -25,9 +25,8 @@ class NudgeTracker;
// An event representing a poll request sent to the server.
class SYNC_EXPORT PollGetUpdatesRequestEvent : public ProtocolEvent {
public:
- PollGetUpdatesRequestEvent(
- base::Time timestamp,
- const sync_pb::ClientToServerMessage& request);
+ PollGetUpdatesRequestEvent(base::Time timestamp,
+ const sync_pb::ClientToServerMessage& request);
~PollGetUpdatesRequestEvent() override;
base::Time GetTimestamp() const override;
@@ -45,4 +44,4 @@ class SYNC_EXPORT PollGetUpdatesRequestEvent : public ProtocolEvent {
} // namespace syncer
-#endif // SYNC_INTERNAL_API_PUBLIC_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_
+#endif // COMPONENTS_SYNC_ENGINE_EVENTS_POLL_GET_UPDATES_REQUEST_EVENT_H_

Powered by Google App Engine
This is Rietveld 408576698