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

Unified Diff: net/url_request/report_sender.h

Issue 2648713002: Add response code to the success callback of ReportSender (Closed)
Patch Set: eroman and estark comments 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
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/url_request/report_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/report_sender.h
diff --git a/net/url_request/report_sender.h b/net/url_request/report_sender.h
index a230f0603b1a9b5a769ade2f65b3e133eb509664..6bfc72ced5397652a11ff407172a8358e938d9c9 100644
--- a/net/url_request/report_sender.h
+++ b/net/url_request/report_sender.h
@@ -31,7 +31,8 @@ class NET_EXPORT ReportSender
public TransportSecurityState::ReportSenderInterface {
public:
using SuccessCallback = base::Callback<void()>;
- using ErrorCallback = base::Callback<void(const GURL&, int)>;
+ using ErrorCallback = base::Callback<
+ void(const GURL&, int /* net_error */, int /* http_response_code */)>;
// Represents whether or not to send cookies along with reports.
enum CookiesPreference { SEND_COOKIES, DO_NOT_SEND_COOKIES };
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/url_request/report_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698