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

Side by Side Diff: components/sync/core/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, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_ 5 #ifndef COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
6 #define SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_ 6 #define COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "sync/api/entity_data.h" 14 #include "components/sync/api/entity_data.h"
15 #include "sync/base/sync_export.h" 15 #include "components/sync/base/sync_export.h"
16 #include "sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
17 17
18 namespace syncer_v2 { 18 namespace syncer_v2 {
19 19
20 static const int64_t kUncommittedVersion = -1; 20 static const int64_t kUncommittedVersion = -1;
21 21
22 struct SYNC_EXPORT CommitRequestData { 22 struct SYNC_EXPORT CommitRequestData {
23 CommitRequestData(); 23 CommitRequestData();
24 CommitRequestData(const CommitRequestData& other); 24 CommitRequestData(const CommitRequestData& other);
25 ~CommitRequestData(); 25 ~CommitRequestData();
26 26
(...skipping 29 matching lines...) Expand all
56 int64_t response_version = 0; 56 int64_t response_version = 0;
57 std::string encryption_key_name; 57 std::string encryption_key_name;
58 }; 58 };
59 59
60 typedef std::vector<CommitRequestData> CommitRequestDataList; 60 typedef std::vector<CommitRequestData> CommitRequestDataList;
61 typedef std::vector<CommitResponseData> CommitResponseDataList; 61 typedef std::vector<CommitResponseData> CommitResponseDataList;
62 typedef std::vector<UpdateResponseData> UpdateResponseDataList; 62 typedef std::vector<UpdateResponseData> UpdateResponseDataList;
63 63
64 } // namespace syncer_v2 64 } // namespace syncer_v2
65 65
66 #endif // SYNC_INTERNAL_API_PUBLIC_NON_BLOCKING_SYNC_COMMON_H_ 66 #endif // COMPONENTS_SYNC_CORE_NON_BLOCKING_SYNC_COMMON_H_
OLDNEW
« no previous file with comments | « components/sync/core/network_time_update_callback.h ('k') | components/sync/core/non_blocking_sync_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698