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

Unified Diff: net/socket/tcp_socket_libevent.h

Issue 451383002: Plumbing for TCP FastOpen for SSL sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing linker error for Windows. Created 6 years, 3 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
« no previous file with comments | « net/socket/tcp_socket.cc ('k') | net/socket/tcp_socket_libevent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_socket_libevent.h
diff --git a/net/socket/tcp_socket_libevent.h b/net/socket/tcp_socket_libevent.h
index 0335c9ea2dea0587ad6ff29421f3a2b3176363dd..89b6a22bdd08d24b05529b6a9f2031351098d256 100644
--- a/net/socket/tcp_socket_libevent.h
+++ b/net/socket/tcp_socket_libevent.h
@@ -65,7 +65,10 @@ class NET_EXPORT TCPSocketLibevent {
void Close();
+ // Setter/Getter methods for TCP FastOpen socket option.
bool UsingTCPFastOpen() const;
+ void EnableTCPFastOpenIfSupported();
+
bool IsValid() const;
// Marks the start/end of a series of connect attempts for logging purpose.
@@ -168,11 +171,10 @@ class NET_EXPORT TCPSocketLibevent {
scoped_ptr<SocketLibevent> accept_socket_;
// Enables experimental TCP FastOpen option.
- const bool use_tcp_fastopen_;
+ bool use_tcp_fastopen_;
// True when TCP FastOpen is in use and we have done the connect.
bool tcp_fastopen_connected_;
-
FastOpenStatus fast_open_status_;
bool logging_multiple_connect_attempts_;
« no previous file with comments | « net/socket/tcp_socket.cc ('k') | net/socket/tcp_socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698