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_UPLOADER_IMPL_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
| 13 #include "base/macros.h" |
11 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
12 #include "google_apis/gaia/oauth2_token_service_request.h" | 15 #include "google_apis/gaia/oauth2_token_service_request.h" |
13 #include "net/url_request/url_request_context_getter.h" | 16 #include "net/url_request/url_request_context_getter.h" |
14 #include "sync/internal_api/public/attachments/attachment_uploader.h" | 17 #include "sync/internal_api/public/attachments/attachment_uploader.h" |
15 #include "sync/internal_api/public/base/model_type.h" | 18 #include "sync/internal_api/public/base/model_type.h" |
16 | 19 |
17 class GURL; | 20 class GURL; |
18 | 21 |
19 namespace net { | 22 namespace net { |
20 class URLRequestContextGetter; | 23 class URLRequestContextGetter; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 97 |
95 // Must be last data member. | 98 // Must be last data member. |
96 base::WeakPtrFactory<AttachmentUploaderImpl> weak_ptr_factory_; | 99 base::WeakPtrFactory<AttachmentUploaderImpl> weak_ptr_factory_; |
97 | 100 |
98 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); | 101 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); |
99 }; | 102 }; |
100 | 103 |
101 } // namespace syncer | 104 } // namespace syncer |
102 | 105 |
103 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ | 106 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
OLD | NEW |