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

Side by Side Diff: blimp/net/ssl_client_transport.h

Issue 2539183002: blimp: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « blimp/net/input_message_generator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_NET_SSL_CLIENT_TRANSPORT_H_ 5 #ifndef BLIMP_NET_SSL_CLIENT_TRANSPORT_H_
6 #define BLIMP_NET_SSL_CLIENT_TRANSPORT_H_ 6 #define BLIMP_NET_SSL_CLIENT_TRANSPORT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "blimp/net/blimp_net_export.h" 13 #include "blimp/net/blimp_net_export.h"
14 #include "blimp/net/blimp_transport.h" 14 #include "blimp/net/blimp_transport.h"
15 #include "blimp/net/exact_match_cert_verifier.h" 15 #include "blimp/net/exact_match_cert_verifier.h"
16 #include "blimp/net/tcp_client_transport.h" 16 #include "blimp/net/tcp_client_transport.h"
17 #include "net/base/address_list.h" 17 #include "net/base/address_list.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "net/cert/ct_policy_enforcer.h" 19 #include "net/cert/ct_policy_enforcer.h"
20 #include "net/cert/multi_log_ct_verifier.h" 20 #include "net/cert/multi_log_ct_verifier.h"
21 #include "net/http/transport_security_state.h" 21 #include "net/http/transport_security_state.h"
22 22
23 namespace net { 23 namespace net {
24 class ClientSocketFactory;
25 class NetLog; 24 class NetLog;
26 class StreamSocket;
27 class TCPClientSocket; 25 class TCPClientSocket;
28 class TransportSecurityState; 26 class TransportSecurityState;
29 } // namespace net 27 } // namespace net
30 28
31 namespace blimp { 29 namespace blimp {
32 30
33 class BlimpConnection;
34
35 // Creates and connects SSL socket connections to an Engine. 31 // Creates and connects SSL socket connections to an Engine.
36 class BLIMP_NET_EXPORT SSLClientTransport : public TCPClientTransport { 32 class BLIMP_NET_EXPORT SSLClientTransport : public TCPClientTransport {
37 public: 33 public:
38 // |ip_endpoint|: the address to connect to. 34 // |ip_endpoint|: the address to connect to.
39 // |cert|: the certificate required from the remote peer. 35 // |cert|: the certificate required from the remote peer.
40 // SSL connections that use different certificates are rejected. 36 // SSL connections that use different certificates are rejected.
41 // |net_log|: the socket event log (optional). 37 // |net_log|: the socket event log (optional).
42 SSLClientTransport(const net::IPEndPoint& ip_endpoint, 38 SSLClientTransport(const net::IPEndPoint& ip_endpoint,
43 scoped_refptr<net::X509Certificate> cert, 39 scoped_refptr<net::X509Certificate> cert,
44 net::NetLog* net_log); 40 net::NetLog* net_log);
(...skipping 15 matching lines...) Expand all
60 net::TransportSecurityState transport_security_state_; 56 net::TransportSecurityState transport_security_state_;
61 net::MultiLogCTVerifier cert_transparency_verifier_; 57 net::MultiLogCTVerifier cert_transparency_verifier_;
62 net::CTPolicyEnforcer ct_policy_enforcer_; 58 net::CTPolicyEnforcer ct_policy_enforcer_;
63 59
64 DISALLOW_COPY_AND_ASSIGN(SSLClientTransport); 60 DISALLOW_COPY_AND_ASSIGN(SSLClientTransport);
65 }; 61 };
66 62
67 } // namespace blimp 63 } // namespace blimp
68 64
69 #endif // BLIMP_NET_SSL_CLIENT_TRANSPORT_H_ 65 #endif // BLIMP_NET_SSL_CLIENT_TRANSPORT_H_
OLDNEW
« no previous file with comments | « blimp/net/input_message_generator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698