| Index: trunk/src/sync/internal_api/public/attachments/attachment_uploader_impl.h
|
| ===================================================================
|
| --- trunk/src/sync/internal_api/public/attachments/attachment_uploader_impl.h (revision 275356)
|
| +++ trunk/src/sync/internal_api/public/attachments/attachment_uploader_impl.h (working copy)
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "base/containers/scoped_ptr_hash_map.h"
|
| #include "base/threading/non_thread_safe.h"
|
| -#include "google_apis/gaia/oauth2_token_service_request.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
| #include "sync/api/attachments/attachment_uploader.h"
|
|
|
| @@ -24,23 +23,10 @@
|
| public base::NonThreadSafe {
|
| public:
|
| // |url_prefix| is the URL prefix (including trailing slash) to be used when
|
| - // uploading attachments.
|
| - //
|
| - // |url_request_context_getter| provides a URLRequestContext.
|
| - //
|
| - // |account_id| is the account id to use for uploads.
|
| - //
|
| - // |scopes| is the set of scopes to use for uploads.
|
| - //
|
| - // |token_service_provider| provides an OAuth2 token service.
|
| - AttachmentUploaderImpl(
|
| - const std::string& url_prefix,
|
| - const scoped_refptr<net::URLRequestContextGetter>&
|
| - url_request_context_getter,
|
| - const std::string& account_id,
|
| - const OAuth2TokenService::ScopeSet& scopes,
|
| - scoped_ptr<OAuth2TokenServiceRequest::TokenServiceProvider>
|
| - token_service_provider);
|
| + // |uploading attachments.
|
| + AttachmentUploaderImpl(const std::string& url_prefix,
|
| + const scoped_refptr<net::URLRequestContextGetter>&
|
| + url_request_context_getter);
|
| virtual ~AttachmentUploaderImpl();
|
|
|
| // AttachmentUploader implementation.
|
| @@ -57,10 +43,6 @@
|
|
|
| std::string url_prefix_;
|
| scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
|
| - std::string account_id_;
|
| - OAuth2TokenService::ScopeSet scopes_;
|
| - scoped_ptr<OAuth2TokenServiceRequest::TokenServiceProvider>
|
| - token_service_provider_;
|
| StateMap state_map_;
|
| DISALLOW_COPY_AND_ASSIGN(AttachmentUploaderImpl);
|
| };
|
|
|