| Index: components/sync/engine/events/normal_get_updates_request_event.h
|
| diff --git a/sync/internal_api/public/events/normal_get_updates_request_event.h b/components/sync/engine/events/normal_get_updates_request_event.h
|
| similarity index 53%
|
| rename from sync/internal_api/public/events/normal_get_updates_request_event.h
|
| rename to components/sync/engine/events/normal_get_updates_request_event.h
|
| index 0c64ed1f95d82a04926bf7457167411f1352faee..a38d2584f378a72ed71460718c3de84ccdb1a818 100644
|
| --- a/sync/internal_api/public/events/normal_get_updates_request_event.h
|
| +++ b/components/sync/engine/events/normal_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_NORMAL_GET_UPDATES_REQUEST_EVENT_H_
|
| -#define SYNC_INTERNAL_API_PUBLIC_EVENTS_NORMAL_GET_UPDATES_REQUEST_EVENT_H_
|
| +#ifndef COMPONENTS_SYNC_ENGINE_EVENTS_NORMAL_GET_UPDATES_REQUEST_EVENT_H_
|
| +#define COMPONENTS_SYNC_ENGINE_EVENTS_NORMAL_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,10 +25,9 @@ class NudgeTracker;
|
| // An event representing a 'normal mode' GetUpdate request to the server.
|
| class SYNC_EXPORT NormalGetUpdatesRequestEvent : public ProtocolEvent {
|
| public:
|
| - NormalGetUpdatesRequestEvent(
|
| - base::Time timestamp,
|
| - const sessions::NudgeTracker& nudge_tracker,
|
| - const sync_pb::ClientToServerMessage& request);
|
| + NormalGetUpdatesRequestEvent(base::Time timestamp,
|
| + const sessions::NudgeTracker& nudge_tracker,
|
| + const sync_pb::ClientToServerMessage& request);
|
|
|
| ~NormalGetUpdatesRequestEvent() override;
|
|
|
| @@ -39,13 +38,12 @@ class SYNC_EXPORT NormalGetUpdatesRequestEvent : public ProtocolEvent {
|
| std::unique_ptr<ProtocolEvent> Clone() const override;
|
|
|
| private:
|
| - NormalGetUpdatesRequestEvent(
|
| - base::Time timestamp,
|
| - ModelTypeSet nudged_types,
|
| - ModelTypeSet notified_types,
|
| - ModelTypeSet refresh_requested_types,
|
| - bool is_retry,
|
| - sync_pb::ClientToServerMessage request);
|
| + NormalGetUpdatesRequestEvent(base::Time timestamp,
|
| + ModelTypeSet nudged_types,
|
| + ModelTypeSet notified_types,
|
| + ModelTypeSet refresh_requested_types,
|
| + bool is_retry,
|
| + sync_pb::ClientToServerMessage request);
|
|
|
| const base::Time timestamp_;
|
|
|
| @@ -61,4 +59,4 @@ class SYNC_EXPORT NormalGetUpdatesRequestEvent : public ProtocolEvent {
|
|
|
| } // namespace syncer
|
|
|
| -#endif // SYNC_INTERNAL_API_PUBLIC_EVENTS_NORMAL_GET_UPDATES_REQUEST_EVENT_H_
|
| +#endif // COMPONENTS_SYNC_ENGINE_EVENTS_NORMAL_GET_UPDATES_REQUEST_EVENT_H_
|
|
|