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

Unified Diff: chrome/browser/safe_browsing/mock_permission_report_sender.h

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/mock_permission_report_sender.h
diff --git a/chrome/browser/safe_browsing/mock_permission_report_sender.h b/chrome/browser/safe_browsing/mock_permission_report_sender.h
index 00d4bcc03281fa6c41a952d27d63dcaef8c309ca..6c948ecfdadcd28e52976b56dc6dd22a5b575e6f 100644
--- a/chrome/browser/safe_browsing/mock_permission_report_sender.h
+++ b/chrome/browser/safe_browsing/mock_permission_report_sender.h
@@ -21,7 +21,7 @@ class MockPermissionReportSender : public net::ReportSender {
const GURL& report_uri,
base::StringPiece content_type,
base::StringPiece report,
- const base::Callback<void()>& success_callback,
+ const base::Callback<void(int)>& success_callback,
const base::Callback<void(const GURL&, int)>& error_callback) override;
const GURL& latest_report_uri();

Powered by Google App Engine
This is Rietveld 408576698