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

Side by Side Diff: content/browser/renderer_host/pepper/ssl_context_helper.cc

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/renderer_host/pepper/ssl_context_helper.h"
6
7 #include "net/cert/cert_verifier.h"
8 #include "net/http/transport_security_state.h"
9
10 namespace content {
11
12 SSLContextHelper::SSLContextHelper() {
13 }
14
15 SSLContextHelper::~SSLContextHelper() {
16 }
17
18 net::CertVerifier* SSLContextHelper::GetCertVerifier() {
19 if (!cert_verifier_)
20 cert_verifier_.reset(net::CertVerifier::CreateDefault());
21 return cert_verifier_.get();
22 }
23
24 net::TransportSecurityState* SSLContextHelper::GetTransportSecurityState() {
25 if (!transport_security_state_)
26 transport_security_state_.reset(new net::TransportSecurityState());
27 return transport_security_state_.get();
28 }
29
30 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/ssl_context_helper.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698