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