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

Unified Diff: chrome/browser/safe_browsing/permission_reporter.cc

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: Remove response code from error callback Created 3 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/permission_reporter.cc
diff --git a/chrome/browser/safe_browsing/permission_reporter.cc b/chrome/browser/safe_browsing/permission_reporter.cc
index ba00b2fdd80a61e68b07177db25b2439920c962d..5a26d8c3ee1eb5bb40c104872803b431cc669f70 100644
--- a/chrome/browser/safe_browsing/permission_reporter.cc
+++ b/chrome/browser/safe_browsing/permission_reporter.cc
@@ -166,7 +166,7 @@ void PermissionReporter::SendReport(const PermissionReportInfo& report_info) {
BuildReport(report_info, &serialized_report);
permission_report_sender_->Send(GURL(kPermissionActionReportingUploadUrl),
"application/octet-stream", serialized_report,
- base::Closure(),
+ base::Callback<void(int)>(),
base::Callback<void(const GURL&, int)>());
}

Powered by Google App Engine
This is Rietveld 408576698