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

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

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: Remove response code from 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..a5e4d3a8cbe85edadd453628352091dbc47b0196 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service.cc
+++ b/chrome/browser/safe_browsing/certificate_reporting_service.cc
@@ -165,7 +165,8 @@ void CertificateReportingService::Reporter::ErrorCallback(int report_id,
CHECK_GT(inflight_reports_.erase(report_id), 0u);
}
-void CertificateReportingService::Reporter::SuccessCallback(int report_id) {
+void CertificateReportingService::Reporter::SuccessCallback(int report_id,
+ int response_code) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
CHECK_GT(inflight_reports_.erase(report_id), 0u);
}

Powered by Google App Engine
This is Rietveld 408576698