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

Unified Diff: net/socket/ssl_client_socket.cc

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 | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
===================================================================
--- net/socket/ssl_client_socket.cc (revision 113231)
+++ net/socket/ssl_client_socket.cc (working copy)
@@ -10,7 +10,8 @@
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 @@
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
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698