OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_API_SYNC_DATA_H_ | 5 #ifndef SYNC_API_SYNC_DATA_H_ |
6 #define SYNC_API_SYNC_DATA_H_ | 6 #define SYNC_API_SYNC_DATA_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "sync/base/sync_export.h" | 14 #include "sync/base/sync_export.h" |
15 #include "sync/internal_api/public/base/model_type.h" | 15 #include "sync/internal_api/public/base/model_type.h" |
16 #include "sync/internal_api/public/util/immutable.h" | 16 #include "sync/internal_api/public/util/immutable.h" |
17 #include "sync/protocol/sync.pb.h" | |
tim (not reviewing)
2014/02/27 22:45:15
one small step for a man...
| |
17 | 18 |
18 namespace sync_pb { | 19 namespace sync_pb { |
19 class EntitySpecifics; | 20 class EntitySpecifics; |
20 class SyncEntity; | 21 class SyncEntity; |
21 } // namespace sync_pb | 22 } // namespace sync_pb |
22 | 23 |
23 namespace syncer { | 24 namespace syncer { |
24 | 25 |
25 // A light-weight container for immutable sync data. Pass-by-value and storage | 26 // A light-weight container for immutable sync data. Pass-by-value and storage |
26 // in STL containers are supported and encouraged if helpful. | 27 // in STL containers are supported and encouraged if helpful. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
129 }; | 130 }; |
130 | 131 |
131 // gmock printer helper. | 132 // gmock printer helper. |
132 void PrintTo(const SyncData& sync_data, std::ostream* os); | 133 void PrintTo(const SyncData& sync_data, std::ostream* os); |
133 | 134 |
134 typedef std::vector<SyncData> SyncDataList; | 135 typedef std::vector<SyncData> SyncDataList; |
135 | 136 |
136 } // namespace syncer | 137 } // namespace syncer |
137 | 138 |
138 #endif // SYNC_API_SYNC_DATA_H_ | 139 #endif // SYNC_API_SYNC_DATA_H_ |
OLD | NEW |