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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_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: Fix another failure missed by my regex 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: chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
index b5e7684a443cdb3b689043b98fc44cc6ec3e7310..0de4bdefa5e9287c2bcb80922bff9d6d1291c624 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
@@ -49,7 +49,7 @@ IncidentReportUploaderImpl::IncidentReportUploaderImpl(
url_fetcher_(net::URLFetcher::Create(kTestUrlFetcherId,
GetIncidentReportUrl(),
net::URLFetcher::POST,
- this)),
+ this).Pass()),
time_begin_(base::TimeTicks::Now()) {
UMA_HISTOGRAM_COUNTS("SBIRS.ReportPayloadSize", post_data.size());
url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE);

Powered by Google App Engine
This is Rietveld 408576698