OLD | NEW |
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 COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ | 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
| 9 #include <memory> |
9 | 10 |
10 #include "base/macros.h" | 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
14 #include "components/sync/api/attachments/attachment_store.h" | 15 #include "components/sync/api/attachments/attachment_store.h" |
15 #include "components/sync/core/attachments/attachment_downloader.h" | 16 #include "components/sync/core/attachments/attachment_downloader.h" |
16 #include "components/sync/core/attachments/attachment_service.h" | 17 #include "components/sync/core/attachments/attachment_service.h" |
17 #include "components/sync/core/attachments/attachment_service_proxy.h" | 18 #include "components/sync/core/attachments/attachment_service_proxy.h" |
18 #include "components/sync/core/attachments/attachment_uploader.h" | 19 #include "components/sync/core/attachments/attachment_uploader.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 115 |
115 // Must be last data member. | 116 // Must be last data member. |
116 base::WeakPtrFactory<AttachmentServiceImpl> weak_ptr_factory_; | 117 base::WeakPtrFactory<AttachmentServiceImpl> weak_ptr_factory_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(AttachmentServiceImpl); | 119 DISALLOW_COPY_AND_ASSIGN(AttachmentServiceImpl); |
119 }; | 120 }; |
120 | 121 |
121 } // namespace syncer | 122 } // namespace syncer |
122 | 123 |
123 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ | 124 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_SERVICE_IMPL_H_ |
OLD | NEW |