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

Unified Diff: net/http/transport_security_state.h

Issue 2726873003: Make transport security state data source configurable. (Closed)
Patch Set: ternary Created 3 years, 9 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/BUILD.gn ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5d3c126dcc2090015107eec88bc71ae0e9c3b7d7 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -19,6 +19,7 @@
#include "net/base/expiring_cache.h"
#include "net/base/hash_value.h"
#include "net/base/net_export.h"
+#include "net/http/transport_security_state_source.h"
#include "url/gurl.h"
namespace net {
@@ -27,6 +28,9 @@ class HostPortPair;
class SSLInfo;
class X509Certificate;
+void NET_EXPORT_PRIVATE SetTransportSecurityStateSourceForTesting(
+ const TransportSecurityStateSource* source);
+
// Tracks which hosts have enabled strict transport security and/or public
// key pins.
//
« no previous file with comments | « net/BUILD.gn ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698