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

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

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: Created 3 years, 11 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 835686407fa7dd4ea395f396026eb7210fe8b21a..be34221eacca04c7c47f53e54c2e314392b054da 100644
--- a/chrome/browser/safe_browsing/permission_reporter.cc
+++ b/chrome/browser/safe_browsing/permission_reporter.cc
@@ -169,10 +169,10 @@ void PermissionReporter::SendReport(const PermissionReportInfo& report_info) {
std::string serialized_report;
BuildReport(report_info, &serialized_report);
- permission_report_sender_->Send(GURL(kPermissionActionReportingUploadUrl),
- "application/octet-stream", serialized_report,
- base::Closure(),
- base::Callback<void(const GURL&, int)>());
+ permission_report_sender_->Send(
+ GURL(kPermissionActionReportingUploadUrl), "application/octet-stream",
+ serialized_report, base::Callback<void(int)>(),
+ base::Callback<void(const GURL&, int, int)>());
}
// static

Powered by Google App Engine
This is Rietveld 408576698