| 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 COMPONENTS_SYNC_API_SYNC_DATA_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_SYNC_DATA_H_ |
| 6 #define COMPONENTS_SYNC_API_SYNC_DATA_H_ | 6 #define COMPONENTS_SYNC_MODEL_SYNC_DATA_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <iosfwd> | 10 #include <iosfwd> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "components/sync/api/attachments/attachment_id.h" | |
| 18 #include "components/sync/api/attachments/attachment_service_proxy.h" | |
| 19 #include "components/sync/base/immutable.h" | 17 #include "components/sync/base/immutable.h" |
| 20 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
| 21 #include "components/sync/base/weak_handle.h" | 19 #include "components/sync/base/weak_handle.h" |
| 20 #include "components/sync/model/attachments/attachment_id.h" |
| 21 #include "components/sync/model/attachments/attachment_service_proxy.h" |
| 22 | 22 |
| 23 namespace sync_pb { | 23 namespace sync_pb { |
| 24 class EntitySpecifics; | 24 class EntitySpecifics; |
| 25 class SyncEntity; | 25 class SyncEntity; |
| 26 } // namespace sync_pb | 26 } // namespace sync_pb |
| 27 | 27 |
| 28 namespace syncer { | 28 namespace syncer { |
| 29 | 29 |
| 30 class AttachmentService; | 30 class AttachmentService; |
| 31 class SyncDataLocal; | 31 class SyncDataLocal; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 const AttachmentService::GetOrDownloadCallback& callback); | 195 const AttachmentService::GetOrDownloadCallback& callback); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 // gmock printer helper. | 198 // gmock printer helper. |
| 199 void PrintTo(const SyncData& sync_data, std::ostream* os); | 199 void PrintTo(const SyncData& sync_data, std::ostream* os); |
| 200 | 200 |
| 201 typedef std::vector<SyncData> SyncDataList; | 201 typedef std::vector<SyncData> SyncDataList; |
| 202 | 202 |
| 203 } // namespace syncer | 203 } // namespace syncer |
| 204 | 204 |
| 205 #endif // COMPONENTS_SYNC_API_SYNC_DATA_H_ | 205 #endif // COMPONENTS_SYNC_MODEL_SYNC_DATA_H_ |
| OLD | NEW |