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_CHANGE_H_ | 5 #ifndef SYNC_API_SYNC_CHANGE_H_ |
6 #define SYNC_API_SYNC_CHANGE_H_ | 6 #define SYNC_API_SYNC_CHANGE_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 tracked_objects::Location location_; | 64 tracked_objects::Location location_; |
65 | 65 |
66 SyncChangeType change_type_; | 66 SyncChangeType change_type_; |
67 | 67 |
68 // An immutable container for the data of this SyncChange. Whenever | 68 // An immutable container for the data of this SyncChange. Whenever |
69 // SyncChanges are copied, they copy references to this data. | 69 // SyncChanges are copied, they copy references to this data. |
70 SyncData sync_data_; | 70 SyncData sync_data_; |
71 }; | 71 }; |
72 | 72 |
73 // gmock printer helper. | 73 // gmock printer helper. |
74 void PrintTo(const SyncChange& sync_change, std::ostream* os); | 74 SYNC_EXPORT void PrintTo(const SyncChange& sync_change, std::ostream* os); |
75 | 75 |
76 } // namespace syncer | 76 } // namespace syncer |
77 | 77 |
78 #endif // SYNC_API_SYNC_CHANGE_H_ | 78 #endif // SYNC_API_SYNC_CHANGE_H_ |
OLD | NEW |