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

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

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.cc
diff --git a/chrome/browser/ssl/certificate_reporting_test_utils.cc b/chrome/browser/ssl/certificate_reporting_test_utils.cc
index 8fca5c58ab5f0ed6ae3a6e4cfd14b9f96c957df4..eb6249c26f19ad7c449be7b17fb6c983f9e4edc4 100644
--- a/chrome/browser/ssl/certificate_reporting_test_utils.cc
+++ b/chrome/browser/ssl/certificate_reporting_test_utils.cc
@@ -89,7 +89,9 @@ MockErrorReporter::MockErrorReporter(
cookies_preference) {}
void MockErrorReporter::SendExtendedReportingReport(
- const std::string& serialized_report) {
+ const std::string& serialized_report,
+ const base::Callback<void()>& success_callback,
+ const base::Callback<void(const GURL&, int)>& error_callback) {
certificate_reporting::ErrorReport report;
ASSERT_TRUE(report.InitializeFromString(serialized_report));
latest_hostname_reported_ = report.hostname();
« no previous file with comments | « chrome/browser/ssl/certificate_reporting_test_utils.h ('k') | components/certificate_reporting/error_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698