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

Side by Side Diff: net/socket/ssl_client_socket.h

Issue 9391027: Disable CREDENTIALS frames when using spdy/2.1 or earlier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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
« no previous file with comments | « no previous file | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Next Protocol Negotiation (NPN), if successful, results in agreement on an 80 // Next Protocol Negotiation (NPN), if successful, results in agreement on an
81 // application-level string that specifies the application level protocol to 81 // application-level string that specifies the application level protocol to
82 // use over the TLS connection. NextProto enumerates the application level 82 // use over the TLS connection. NextProto enumerates the application level
83 // protocols that we recognise. 83 // protocols that we recognise.
84 enum NextProto { 84 enum NextProto {
85 kProtoUnknown = 0, 85 kProtoUnknown = 0,
86 kProtoHTTP11 = 1, 86 kProtoHTTP11 = 1,
87 kProtoSPDY1 = 2, 87 kProtoSPDY1 = 2,
88 kProtoSPDY2 = 3, 88 kProtoSPDY2 = 3,
89 kProtoSPDY21 = 4, 89 kProtoSPDY21 = 4,
90 kProtoSPDY3 = 5,
90 }; 91 };
91 92
92 // Gets the SSL connection information of the socket. 93 // Gets the SSL connection information of the socket.
93 // 94 //
94 // TODO(sergeyu): Move this method to the SSLSocket interface and 95 // TODO(sergeyu): Move this method to the SSLSocket interface and
95 // implemented in SSLServerSocket too. 96 // implemented in SSLServerSocket too.
96 virtual void GetSSLInfo(SSLInfo* ssl_info) = 0; 97 virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;
97 98
98 // Gets the SSL CertificateRequest info of the socket after Connect failed 99 // Gets the SSL CertificateRequest info of the socket after Connect failed
99 // with ERR_SSL_CLIENT_AUTH_CERT_NEEDED. 100 // with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Protocol that we negotiated with the server. 166 // Protocol that we negotiated with the server.
166 SSLClientSocket::NextProto protocol_negotiated_; 167 SSLClientSocket::NextProto protocol_negotiated_;
167 // Type of the origin bound cert that was sent, or CLIENT_CERT_INVALID_TYPE 168 // Type of the origin bound cert that was sent, or CLIENT_CERT_INVALID_TYPE
168 // if none was sent. 169 // if none was sent.
169 SSLClientCertType origin_bound_cert_type_; 170 SSLClientCertType origin_bound_cert_type_;
170 }; 171 };
171 172
172 } // namespace net 173 } // namespace net
173 174
174 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_ 175 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698