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_UPLOADER_IMPL_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
6 #define COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_UPLOADER_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 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "components/sync/base/model_type.h" | 16 #include "components/sync/base/model_type.h" |
17 #include "components/sync/core/attachments/attachment_uploader.h" | 17 #include "components/sync/engine/attachments/attachment_uploader.h" |
18 #include "google_apis/gaia/oauth2_token_service_request.h" | 18 #include "google_apis/gaia/oauth2_token_service_request.h" |
19 #include "net/url_request/url_request_context_getter.h" | 19 #include "net/url_request/url_request_context_getter.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 class URLRequestContextGetter; | 24 class URLRequestContextGetter; |
25 } // namespace net | 25 } // namespace net |
26 | 26 |
27 namespace syncer { | 27 namespace syncer { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 ModelType model_type_; | 97 ModelType model_type_; |
98 | 98 |
99 // Must be last data member. | 99 // Must be last data member. |
100 base::WeakPtrFactory<AttachmentUploaderImpl> weak_ptr_factory_; | 100 base::WeakPtrFactory<AttachmentUploaderImpl> weak_ptr_factory_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); | 102 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace syncer | 105 } // namespace syncer |
106 | 106 |
107 #endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ | 107 #endif // COMPONENTS_SYNC_ENGINE_IMPL_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
OLD | NEW |