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

Unified Diff: rlz/lib/financial_ping.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
Index: rlz/lib/financial_ping.cc
diff --git a/rlz/lib/financial_ping.cc b/rlz/lib/financial_ping.cc
index 66f8a7fbeeb19c08eec5ff1d4160eb6506ff7610..b58ce96f962cf107c31493f57b60073a07431b3a 100644
--- a/rlz/lib/financial_ping.cc
+++ b/rlz/lib/financial_ping.cc
@@ -313,8 +313,8 @@ bool FinancialPing::PingServer(const char* request, std::string* response) {
kFinancialServer, kFinancialPort,
request);
- scoped_ptr<net::URLFetcher> fetcher(net::URLFetcher::Create(
- GURL(url), net::URLFetcher::GET, &delegate));
+ scoped_ptr<net::URLFetcher> fetcher =
+ net::URLFetcher::Create(GURL(url), net::URLFetcher::GET, &delegate);
fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE |
net::LOAD_DO_NOT_SEND_AUTH_DATA |
« no previous file with comments | « remoting/test/remote_host_info_fetcher.cc ('k') | sync/internal_api/attachments/attachment_downloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698