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

Unified Diff: net/socket/ssl_client_socket.cc

Issue 353713005: Implements new, more robust design for communicating between SSLConnectJobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added checks to determine if false start connections fail, and moved location of enable_job_waiting… Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 1b2fe144304955bd0c423aca96d90226c45d7f4a..73444829c7a0e676c9dcc2bc970fdf0c587f61a1 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -210,4 +210,17 @@ bool SSLClientSocket::IsChannelIDEnabled(
return true;
}
+// static
+bool SSLClientSocket::enable_job_waiting_ = false;
+
+// static
+void SSLClientSocket::EnableJobWaiting(bool enable) {
+ enable_job_waiting_ = enable;
+}
+
+// static
+bool SSLClientSocket::GetEnableJobWaiting() {
+ return enable_job_waiting_;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698