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

Unified Diff: chrome/browser/ssl/certificate_reporting_test_utils.h

Issue 2483993002: Add report_id to ErrorReporter interface. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/ssl/certificate_reporting_test_utils.h
diff --git a/chrome/browser/ssl/certificate_reporting_test_utils.h b/chrome/browser/ssl/certificate_reporting_test_utils.h
index 237a0edb79719025933e61491f64eb840c5bc6bf..0abafb715aea738009515e5301a3855f47a309fe 100644
--- a/chrome/browser/ssl/certificate_reporting_test_utils.h
+++ b/chrome/browser/ssl/certificate_reporting_test_utils.h
@@ -40,7 +40,9 @@ class MockErrorReporter : public certificate_reporting::ErrorReporter {
// ErrorReporter implementation.
void SendExtendedReportingReport(
- const std::string& serialized_report) override;
+ const std::string& serialized_report,
+ const base::Callback<void()>& success_callback,
+ const base::Callback<void(const GURL&, int)>& error_callback) override;
// Returns the hostname in the report for the last call to |SendReport|.
const std::string& latest_hostname_reported() {
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager_unittest.cc ('k') | chrome/browser/ssl/certificate_reporting_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698