| Index: components/sync/engine/events/commit_request_event.h
|
| diff --git a/sync/internal_api/public/events/commit_request_event.h b/components/sync/engine/events/commit_request_event.h
|
| similarity index 64%
|
| rename from sync/internal_api/public/events/commit_request_event.h
|
| rename to components/sync/engine/events/commit_request_event.h
|
| index 3e35b6a32f717655c244ac6cdec289868e1055ad..af91ecdb008cb8abba23f123512abe204d44e810 100644
|
| --- a/sync/internal_api/public/events/commit_request_event.h
|
| +++ b/components/sync/engine/events/commit_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_COMMIT_REQUEST_EVENT_H_
|
| -#define SYNC_INTERNAL_API_PUBLIC_EVENTS_COMMIT_REQUEST_EVENT_H_
|
| +#ifndef COMPONENTS_SYNC_ENGINE_EVENTS_COMMIT_REQUEST_EVENT_H_
|
| +#define COMPONENTS_SYNC_ENGINE_EVENTS_COMMIT_REQUEST_EVENT_H_
|
|
|
| #include <cstddef>
|
| #include <memory>
|
| @@ -12,21 +12,20 @@
|
| #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 {
|
|
|
| // An event representing a commit request message sent to the server.
|
| class SYNC_EXPORT CommitRequestEvent : public ProtocolEvent {
|
| public:
|
| - CommitRequestEvent(
|
| - base::Time timestamp,
|
| - size_t num_items,
|
| - ModelTypeSet contributing_types,
|
| - const sync_pb::ClientToServerMessage& request);
|
| + CommitRequestEvent(base::Time timestamp,
|
| + size_t num_items,
|
| + ModelTypeSet contributing_types,
|
| + const sync_pb::ClientToServerMessage& request);
|
| ~CommitRequestEvent() override;
|
|
|
| base::Time GetTimestamp() const override;
|
| @@ -49,4 +48,4 @@ class SYNC_EXPORT CommitRequestEvent : public ProtocolEvent {
|
|
|
| } // namespace syncer
|
|
|
| -#endif // SYNC_INTERNAL_API_PUBLIC_EVENTS_COMMIT_REQUEST_EVENT_H_
|
| +#endif // COMPONENTS_SYNC_ENGINE_EVENTS_COMMIT_REQUEST_EVENT_H_
|
|
|