Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: sync/internal_api/attachments/attachment_downloader_impl.cc

Issue 1117703002: Adjust URLFetcher::Create API so that object is returned as scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded Pass() calls Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « rlz/lib/financial_ping.cc ('k') | sync/internal_api/attachments/attachment_uploader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/attachments/attachment_downloader_impl.cc
diff --git a/sync/internal_api/attachments/attachment_downloader_impl.cc b/sync/internal_api/attachments/attachment_downloader_impl.cc
index f2e6a007aa0f1dc5dd921f4c37713b49081095d8..2915296d9f1bf88fca9d8c13ceffa83594bbaf2a 100644
--- a/sync/internal_api/attachments/attachment_downloader_impl.cc
+++ b/sync/internal_api/attachments/attachment_downloader_impl.cc
@@ -206,8 +206,8 @@ void AttachmentDownloaderImpl::OnURLFetchComplete(
scoped_ptr<net::URLFetcher> AttachmentDownloaderImpl::CreateFetcher(
const AttachmentUrl& url,
const std::string& access_token) {
- scoped_ptr<net::URLFetcher> url_fetcher(
- net::URLFetcher::Create(GURL(url), net::URLFetcher::GET, this));
+ scoped_ptr<net::URLFetcher> url_fetcher =
+ net::URLFetcher::Create(GURL(url), net::URLFetcher::GET, this);
AttachmentUploaderImpl::ConfigureURLFetcherCommon(
url_fetcher.get(), access_token, raw_store_birthday_, model_type_,
url_request_context_getter_.get());
« no previous file with comments | « rlz/lib/financial_ping.cc ('k') | sync/internal_api/attachments/attachment_uploader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698