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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.h
===================================================================
--- net/socket/ssl_client_socket.h (revision 113231)
+++ net/socket/ssl_client_socket.h (working copy)
@@ -146,11 +146,21 @@
virtual bool set_was_spdy_negotiated(bool negotiated);
+ // Returns true if an origin bound certificate was sent on this connection.
+ // This may be useful for protocols, like SPDY, which allow the same
+ // connection to be shared between multiple origins, each of which need
+ // an origin bound certificate.
+ virtual bool was_origin_bound_cert_sent() const;
+
+ virtual bool set_was_origin_bound_cert_sent(bool sent);
+
private:
// True if NPN was responded to, independent of selecting SPDY or HTTP.
bool was_npn_negotiated_;
// True if NPN successfully negotiated SPDY.
bool was_spdy_negotiated_;
+ // True if an origin bound certificate was sent.
+ bool was_origin_bound_cert_sent_;
};
} // namespace net
« no previous file with comments | « no previous file | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698