| 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_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
| 6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <unordered_map> | 12 #include <unordered_map> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 18 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
| 19 #include "components/sync/core/attachments/attachment_downloader.h" | 19 #include "components/sync/engine/attachments/attachment_downloader.h" |
| 20 #include "google_apis/gaia/oauth2_token_service_request.h" | 20 #include "google_apis/gaia/oauth2_token_service_request.h" |
| 21 #include "net/url_request/url_fetcher_delegate.h" | 21 #include "net/url_request/url_fetcher_delegate.h" |
| 22 #include "net/url_request/url_request_context_getter.h" | 22 #include "net/url_request/url_request_context_getter.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 class RefCountedMemory; | 26 class RefCountedMemory; |
| 27 } // namespace base | 27 } // namespace base |
| 28 | 28 |
| 29 namespace net { | 29 namespace net { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // lifetime. | 124 // lifetime. |
| 125 StateList requests_waiting_for_access_token_; | 125 StateList requests_waiting_for_access_token_; |
| 126 | 126 |
| 127 ModelType model_type_; | 127 ModelType model_type_; |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(AttachmentDownloaderImpl); | 129 DISALLOW_COPY_AND_ASSIGN(AttachmentDownloaderImpl); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace syncer | 132 } // namespace syncer |
| 133 | 133 |
| 134 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ | 134 #endif // COMPONENTS_SYNC_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_DOWNLOADER_IMPL_H_ |
| OLD | NEW |