OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/socket/ssl_client_socket.h" | 5 #include "net/socket/ssl_client_socket.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
128 | 128 |
129 SSLClientCertType SSLClientSocket::domain_bound_cert_type() const { | 129 SSLClientCertType SSLClientSocket::domain_bound_cert_type() const { |
130 return domain_bound_cert_type_; | 130 return domain_bound_cert_type_; |
131 } | 131 } |
132 | 132 |
133 SSLClientCertType SSLClientSocket::set_domain_bound_cert_type( | 133 SSLClientCertType SSLClientSocket::set_domain_bound_cert_type( |
134 SSLClientCertType type) { | 134 SSLClientCertType type) { |
135 return domain_bound_cert_type_ = type; | 135 return domain_bound_cert_type_ = type; |
136 } | 136 } |
137 | 137 |
138 NextProto SSLClientSocket::GetNegotiatedProtocol() const { | |
139 return static_cast<NextProto>(protocol_negotiated()); | |
wtc
2012/03/30 21:19:14
Remove static_cast because protocol_negotiated() r
Ryan Hamilton
2012/03/30 21:53:17
Done.
| |
140 } | |
141 | |
138 } // namespace net | 142 } // namespace net |
OLD | NEW |