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

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

Issue 8817021: Add a new SSLClientSocket::was_origin_cert_sent() method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/socket/ssl_client_socket.cc » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual bool was_npn_negotiated() const; 139 virtual bool was_npn_negotiated() const;
140 140
141 virtual bool set_was_npn_negotiated(bool negotiated); 141 virtual bool set_was_npn_negotiated(bool negotiated);
142 142
143 virtual void UseDNSSEC(DNSSECProvider*) { } 143 virtual void UseDNSSEC(DNSSECProvider*) { }
144 144
145 virtual bool was_spdy_negotiated() const; 145 virtual bool was_spdy_negotiated() const;
146 146
147 virtual bool set_was_spdy_negotiated(bool negotiated); 147 virtual bool set_was_spdy_negotiated(bool negotiated);
148 148
149 // Returns true if an origin bound certificate was sent on this connection.
150 // This may be useful for protocols, like SPDY, which allow the same
151 // connection to be shared between multiple origins, each of which need
152 // an origin bound certificate.
153 virtual bool was_origin_bound_cert_sent() const;
154
155 virtual bool set_was_origin_bound_cert_sent(bool sent);
156
149 private: 157 private:
150 // True if NPN was responded to, independent of selecting SPDY or HTTP. 158 // True if NPN was responded to, independent of selecting SPDY or HTTP.
151 bool was_npn_negotiated_; 159 bool was_npn_negotiated_;
152 // True if NPN successfully negotiated SPDY. 160 // True if NPN successfully negotiated SPDY.
153 bool was_spdy_negotiated_; 161 bool was_spdy_negotiated_;
162 // True if an Origin Bound Certificate was sent.
wtc 2011/12/06 20:47:03 Please use lowercase for "origin-bound certificate
Ryan Hamilton 2011/12/06 20:55:44 Done.
163 bool was_origin_bound_cert_sent_;
154 }; 164 };
155 165
156 } // namespace net 166 } // namespace net
157 167
158 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_ 168 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/ssl_client_socket.cc » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698