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_DOWNLOADER_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ | 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <string> | 11 #include <string> |
11 #include <unordered_map> | 12 #include <unordered_map> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
17 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
18 #include "components/sync/core/attachments/attachment_downloader.h" | 19 #include "components/sync/core/attachments/attachment_downloader.h" |
19 #include "google_apis/gaia/oauth2_token_service_request.h" | 20 #include "google_apis/gaia/oauth2_token_service_request.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 StateList requests_waiting_for_access_token_; | 125 StateList requests_waiting_for_access_token_; |
125 | 126 |
126 ModelType model_type_; | 127 ModelType model_type_; |
127 | 128 |
128 DISALLOW_COPY_AND_ASSIGN(AttachmentDownloaderImpl); | 129 DISALLOW_COPY_AND_ASSIGN(AttachmentDownloaderImpl); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace syncer | 132 } // namespace syncer |
132 | 133 |
133 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ | 134 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
OLD | NEW |