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 "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
9 #include "base/threading/non_thread_safe.h" | 9 #include "base/threading/non_thread_safe.h" |
10 #include "google_apis/gaia/oauth2_token_service_request.h" | 10 #include "google_apis/gaia/oauth2_token_service_request.h" |
11 #include "net/url_request/url_request_context_getter.h" | 11 #include "net/url_request/url_request_context_getter.h" |
12 #include "sync/api/attachments/attachment_uploader.h" | 12 #include "sync/internal_api/public/attachments/attachment_uploader.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class URLRequestContextGetter; | 17 class URLRequestContextGetter; |
18 } // namespace net | 18 } // namespace net |
19 | 19 |
20 namespace syncer { | 20 namespace syncer { |
21 | 21 |
22 // An implementation of AttachmentUploader. | 22 // An implementation of AttachmentUploader. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 OAuth2TokenService::ScopeSet scopes_; | 63 OAuth2TokenService::ScopeSet scopes_; |
64 scoped_ptr<OAuth2TokenServiceRequest::TokenServiceProvider> | 64 scoped_ptr<OAuth2TokenServiceRequest::TokenServiceProvider> |
65 token_service_provider_; | 65 token_service_provider_; |
66 StateMap state_map_; | 66 StateMap state_map_; |
67 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); | 67 DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace syncer | 70 } // namespace syncer |
71 | 71 |
72 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ | 72 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_UPLOADER_IMPL_H_ |
OLD | NEW |