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

Unified Diff: chrome/browser/safe_browsing/certificate_reporting_service.cc

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: chrome/browser/safe_browsing/certificate_reporting_service.cc
diff --git a/chrome/browser/safe_browsing/certificate_reporting_service.cc b/chrome/browser/safe_browsing/certificate_reporting_service.cc
index f95c37243c743dbdfe531377295702215bad64b0..5f7780a72dc0ef44f712c7669a83ab9f83c5a3dc 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service.cc
+++ b/chrome/browser/safe_browsing/certificate_reporting_service.cc
@@ -152,9 +152,11 @@ void CertificateReportingService::Reporter::SendInternal(
weak_factory_.GetWeakPtr(), report.report_id));
}
-void CertificateReportingService::Reporter::ErrorCallback(int report_id,
- const GURL& url,
- int error) {
+void CertificateReportingService::Reporter::ErrorCallback(
+ int report_id,
+ const GURL& url,
+ int error,
eroman 2017/04/26 22:52:28 ditto
meacer 2017/04/27 00:56:41 Done.
+ int http_response_code) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
RecordUMAOnFailure(error);
if (retries_enabled_) {

Powered by Google App Engine
This is Rietveld 408576698