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

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: eroman and estark comments 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..c527a7ff96cab97349bc8055214b632bb5070f92 100644
--- a/chrome/browser/safe_browsing/mock_permission_report_sender.h
+++ b/chrome/browser/safe_browsing/mock_permission_report_sender.h
@@ -17,12 +17,12 @@ class MockPermissionReportSender : public net::ReportSender {
~MockPermissionReportSender() override;
- void Send(
- const GURL& report_uri,
- base::StringPiece content_type,
- base::StringPiece report,
- const base::Callback<void()>& success_callback,
- const base::Callback<void(const GURL&, int)>& error_callback) override;
+ void Send(const GURL& report_uri,
+ base::StringPiece content_type,
+ base::StringPiece report,
+ const base::Callback<void()>& success_callback,
+ const base::Callback<void(const GURL&, int, int)>& error_callback)
+ override;
const GURL& latest_report_uri();

Powered by Google App Engine
This is Rietveld 408576698