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