| Index: components/sync/core/non_blocking_sync_common.h
|
| diff --git a/components/sync/core/non_blocking_sync_common.h b/components/sync/core/non_blocking_sync_common.h
|
| deleted file mode 100644
|
| index 6066a02c97e032674437db018f2de1db8d37e67b..0000000000000000000000000000000000000000
|
| --- a/components/sync/core/non_blocking_sync_common.h
|
| +++ /dev/null
|
| @@ -1,65 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
|
| -#define COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
|
| -
|
| -#include <stdint.h>
|
| -
|
| -#include <string>
|
| -#include <vector>
|
| -
|
| -#include "base/time/time.h"
|
| -#include "components/sync/model/entity_data.h"
|
| -#include "components/sync/protocol/sync.pb.h"
|
| -
|
| -namespace syncer {
|
| -
|
| -static const int64_t kUncommittedVersion = -1;
|
| -
|
| -struct CommitRequestData {
|
| - CommitRequestData();
|
| - CommitRequestData(const CommitRequestData& other);
|
| - ~CommitRequestData();
|
| -
|
| - EntityDataPtr entity;
|
| -
|
| - // Strictly incrementing number for in-progress commits. More information
|
| - // about its meaning can be found in comments in the files that make use of
|
| - // this struct.
|
| - int64_t sequence_number = 0;
|
| - int64_t base_version = 0;
|
| - std::string specifics_hash;
|
| -};
|
| -
|
| -struct CommitResponseData {
|
| - CommitResponseData();
|
| - CommitResponseData(const CommitResponseData& other);
|
| - ~CommitResponseData();
|
| -
|
| - std::string id;
|
| - std::string client_tag_hash;
|
| - int64_t sequence_number = 0;
|
| - int64_t response_version = 0;
|
| - std::string specifics_hash;
|
| -};
|
| -
|
| -struct UpdateResponseData {
|
| - UpdateResponseData();
|
| - UpdateResponseData(const UpdateResponseData& other);
|
| - ~UpdateResponseData();
|
| -
|
| - EntityDataPtr entity;
|
| -
|
| - int64_t response_version = 0;
|
| - std::string encryption_key_name;
|
| -};
|
| -
|
| -typedef std::vector<CommitRequestData> CommitRequestDataList;
|
| -typedef std::vector<CommitResponseData> CommitResponseDataList;
|
| -typedef std::vector<UpdateResponseData> UpdateResponseDataList;
|
| -
|
| -} // namespace syncer
|
| -
|
| -#endif // COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
|
|
|