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

Unified Diff: content/browser/renderer_host/pepper/pepper_message_filter.h

Issue 16501002: Give more request types a TransportSecurityState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enforce CalledOnValidThread in all non-static methods. Created 7 years, 6 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: content/browser/renderer_host/pepper/pepper_message_filter.h
diff --git a/content/browser/renderer_host/pepper/pepper_message_filter.h b/content/browser/renderer_host/pepper/pepper_message_filter.h
index cb8f0e03edd60c7ecfa259dc9fa372295510fb79..a745768fd51607139a0537342d298bc7c98e8cd1 100644
--- a/content/browser/renderer_host/pepper/pepper_message_filter.h
+++ b/content/browser/renderer_host/pepper/pepper_message_filter.h
@@ -20,6 +20,7 @@
#include "content/public/common/process_type.h"
#include "net/base/net_util.h"
#include "net/base/network_change_notifier.h"
+#include "net/http/transport_security_state.h"
#include "net/socket/stream_socket.h"
#include "net/ssl/ssl_config_service.h"
#include "ppapi/c/pp_resource.h"
@@ -88,6 +89,7 @@ class PepperMessageFilter
net::HostResolver* GetHostResolver();
net::CertVerifier* GetCertVerifier();
+ net::TransportSecurityState* GetTransportSecurityState();
// Adds already accepted socket to the internal TCP sockets table. Takes
// ownership over |socket|. In the case of failure (full socket table)
@@ -217,6 +219,9 @@ class PepperMessageFilter
net::SSLConfig ssl_config_;
// This is lazily created. Users should use GetCertVerifier to retrieve it.
scoped_ptr<net::CertVerifier> cert_verifier_;
+ // This is lazily created. Users should use GetTransportSecurityState to
+ // retrieve it.
+ scoped_ptr<net::TransportSecurityState> transport_security_state_;
uint32 next_socket_id_;
« no previous file with comments | « chrome/service/net/service_url_request_context.cc ('k') | content/browser/renderer_host/pepper/pepper_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698