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

Unified Diff: net/http/transport_security_state.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: net/http/transport_security_state.h
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
index a55cf62d417cada4728bc7a810b4efb6980e8b17..80da4244addbe47b893a6ecf1feb10f13a0fbf36 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -262,8 +262,10 @@ class NET_EXPORT TransportSecurityState
const GURL& report_uri,
base::StringPiece content_type,
base::StringPiece report,
- const base::Callback<void()>& success_callback,
- const base::Callback<void(const GURL&, int)>& error_callback) = 0;
+ const base::Callback<void(int /* response_code */)>& success_callback,
+ const base::Callback<
+ void(const GURL&, int /* net_error */, int /* response_code */)>&
+ error_callback) = 0;
protected:
virtual ~ReportSenderInterface() {}

Powered by Google App Engine
This is Rietveld 408576698