Index: sync/internal_api/public/attachments/attachment_downloader_impl.h |
diff --git a/sync/internal_api/public/attachments/attachment_downloader_impl.h b/sync/internal_api/public/attachments/attachment_downloader_impl.h |
index a78912f82ea06eb2fb13decd028c005c1d5ce097..43bb666162e3c8e306974675482817b8c8773c50 100644 |
--- a/sync/internal_api/public/attachments/attachment_downloader_impl.h |
+++ b/sync/internal_api/public/attachments/attachment_downloader_impl.h |
@@ -86,12 +86,13 @@ class AttachmentDownloaderImpl : public AttachmentDownloader, |
struct DownloadState; |
typedef std::string AttachmentUrl; |
- typedef base::ScopedPtrHashMap<AttachmentUrl, scoped_ptr<DownloadState>> |
+ typedef base::ScopedPtrHashMap<AttachmentUrl, std::unique_ptr<DownloadState>> |
StateMap; |
typedef std::vector<DownloadState*> StateList; |
- scoped_ptr<net::URLFetcher> CreateFetcher(const AttachmentUrl& url, |
- const std::string& access_token); |
+ std::unique_ptr<net::URLFetcher> CreateFetcher( |
+ const AttachmentUrl& url, |
+ const std::string& access_token); |
void RequestAccessToken(DownloadState* download_state); |
void ReportResult( |
const DownloadState& download_state, |
@@ -113,7 +114,7 @@ class AttachmentDownloaderImpl : public AttachmentDownloader, |
OAuth2TokenService::ScopeSet oauth2_scopes_; |
scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider> |
token_service_provider_; |
- scoped_ptr<OAuth2TokenService::Request> access_token_request_; |
+ std::unique_ptr<OAuth2TokenService::Request> access_token_request_; |
std::string raw_store_birthday_; |
StateMap state_map_; |