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

Unified Diff: components/certificate_reporting/error_reporter.h

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: Move http_response_code to 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: components/certificate_reporting/error_reporter.h
diff --git a/components/certificate_reporting/error_reporter.h b/components/certificate_reporting/error_reporter.h
index a02610862e2e7c1566f07cf0cc33ae1ce54f3587..85694088f8000e7aed00934e8ae1d8bd8f73f281 100644
--- a/components/certificate_reporting/error_reporter.h
+++ b/components/certificate_reporting/error_reporter.h
@@ -63,7 +63,7 @@ class ErrorReporter {
virtual void SendExtendedReportingReport(
estark 2017/04/27 00:35:57 nit: can you document what the |error_callback| ar
meacer 2017/04/27 00:56:42 Done.
const std::string& serialized_report,
const base::Callback<void()>& success_callback,
- const base::Callback<void(const GURL&, int)>& error_callback);
+ const base::Callback<void(const GURL&, int, int)>& error_callback);
// Used by tests.
static bool DecryptErrorReport(

Powered by Google App Engine
This is Rietveld 408576698