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

Unified Diff: sync/internal_api/public/non_blocking_sync_common.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: sync/internal_api/public/non_blocking_sync_common.h
diff --git a/sync/internal_api/public/non_blocking_sync_common.h b/sync/internal_api/public/non_blocking_sync_common.h
deleted file mode 100644
index 5424e46ae400fb80cdde06a3a494448c26c7bca6..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/non_blocking_sync_common.h
+++ /dev/null
@@ -1,66 +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 SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_
-#define SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_
-
-#include <stdint.h>
-
-#include <string>
-#include <vector>
-
-#include "base/time/time.h"
-#include "sync/api/entity_data.h"
-#include "sync/base/sync_export.h"
-#include "sync/protocol/sync.pb.h"
-
-namespace syncer_v2 {
-
-static const int64_t kUncommittedVersion = -1;
-
-struct SYNC_EXPORT 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 SYNC_EXPORT 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 SYNC_EXPORT 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_v2
-
-#endif // SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_
« no previous file with comments | « sync/internal_api/public/network_time_update_callback.h ('k') | sync/internal_api/public/non_blocking_sync_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698