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> |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // | 186 // |
187 // Retrieving the requested attachments may require reading local storage or | 187 // Retrieving the requested attachments may require reading local storage or |
188 // requesting the attachments from the network. | 188 // requesting the attachments from the network. |
189 // | 189 // |
190 void GetOrDownloadAttachments( | 190 void GetOrDownloadAttachments( |
191 const AttachmentIdList& attachment_ids, | 191 const AttachmentIdList& attachment_ids, |
192 const AttachmentService::GetOrDownloadCallback& callback); | 192 const AttachmentService::GetOrDownloadCallback& callback); |
193 }; | 193 }; |
194 | 194 |
195 // gmock printer helper. | 195 // gmock printer helper. |
196 void PrintTo(const SyncData& sync_data, std::ostream* os); | 196 void SYNC_EXPORT PrintTo(const SyncData& sync_data, std::ostream* os); |
197 | 197 |
198 typedef std::vector<SyncData> SyncDataList; | 198 typedef std::vector<SyncData> SyncDataList; |
199 | 199 |
200 } // namespace syncer | 200 } // namespace syncer |
201 | 201 |
202 #endif // SYNC_API_SYNC_DATA_H_ | 202 #endif // SYNC_API_SYNC_DATA_H_ |
OLD | NEW |