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

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

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: Created 3 years, 11 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.h
diff --git a/chrome/browser/safe_browsing/certificate_reporting_service.h b/chrome/browser/safe_browsing/certificate_reporting_service.h
index 4f30f12f4816b9b66dcb5c44b91c96f3c3e056ce..59191d03b04a0b6217031374a4c7ef2c478b6125 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service.h
+++ b/chrome/browser/safe_browsing/certificate_reporting_service.h
@@ -124,8 +124,11 @@ class CertificateReportingService : public KeyedService {
private:
void SendInternal(const Report& report);
- void ErrorCallback(int report_id, const GURL& url, int error);
- void SuccessCallback(int report_id);
+ void ErrorCallback(int report_id,
+ const GURL& url,
+ int error,
+ int response_code);
+ void SuccessCallback(int report_id, int response_code);
std::unique_ptr<certificate_reporting::ErrorReporter> error_reporter_;
std::unique_ptr<BoundedReportList> retry_list_;

Powered by Google App Engine
This is Rietveld 408576698