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..8334366119a61503ee06fd8494462a9825e5b0bd 100644 |
--- a/net/url_request/report_sender.h |
+++ b/net/url_request/report_sender.h |
@@ -30,8 +30,8 @@ class NET_EXPORT ReportSender |
: public URLRequest::Delegate, |
public TransportSecurityState::ReportSenderInterface { |
public: |
- using SuccessCallback = base::Callback<void()>; |
- using ErrorCallback = base::Callback<void(const GURL&, int)>; |
+ using SuccessCallback = base::Callback<void(int /* response_code */)>; |
eroman
2017/04/25 21:02:39
Please document the expectations.
- what is the r
meacer
2017/04/25 22:19:07
Yes, that's the current semantics of the success c
eroman
2017/04/25 22:41:55
My understanding of this bug is that right now the
meacer
2017/04/25 22:54:54
I might have misunderstood your original suggestio
|
+ using ErrorCallback = base::Callback<void(const GURL&, int /* net_error */)>; |
// Represents whether or not to send cookies along with reports. |
enum CookiesPreference { SEND_COOKIES, DO_NOT_SEND_COOKIES }; |