diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 17:34:35 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 17:34:35 +0000 |
commit | 6e5ad865c61adb98f8f5d4c22ecb238478a9a368 (patch) | |
tree | 35a4a00f9bfbd561b0492ae9f65eb05416d24022 /net/socket/ssl_client_socket.cc | |
parent | a47105c838e106ca54496e9767371762bce4e246 (diff) | |
download | chromium_src-6e5ad865c61adb98f8f5d4c22ecb238478a9a368.zip chromium_src-6e5ad865c61adb98f8f5d4c22ecb238478a9a368.tar.gz chromium_src-6e5ad865c61adb98f8f5d4c22ecb238478a9a368.tar.bz2 |
Add a new method to SSLClientSocket:
was_origin_cert_sent()
This will help SpdySession decide to send a CREDENTIAL frame.
BUG=106103
TEST=none
Review URL: http://codereview.chromium.org/8817021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket.cc')
-rw-r--r-- | net/socket/ssl_client_socket.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc index 4f87202..b1e31f5 100644 --- a/net/socket/ssl_client_socket.cc +++ b/net/socket/ssl_client_socket.cc @@ -10,7 +10,8 @@ namespace net { SSLClientSocket::SSLClientSocket() : was_npn_negotiated_(false), - was_spdy_negotiated_(false) { + was_spdy_negotiated_(false), + was_origin_bound_cert_sent_(false) { } SSLClientSocket::NextProto SSLClientSocket::NextProtoFromString( @@ -90,4 +91,12 @@ bool SSLClientSocket::set_was_spdy_negotiated(bool negotiated) { return was_spdy_negotiated_ = negotiated; } +bool SSLClientSocket::was_origin_bound_cert_sent() const { + return was_origin_bound_cert_sent_; +} + +bool SSLClientSocket::set_was_origin_bound_cert_sent(bool sent) { + return was_origin_bound_cert_sent_ = sent; +} + } // namespace net |