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

Unified Diff: net/socket/tcp_socket_libevent.h

Issue 571533004: One missed #ifdef and some comments cleaned up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | 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..464b77338e8b2d951c5f8917218c911830772f4f 100644
--- a/net/socket/tcp_socket_libevent.h
+++ b/net/socket/tcp_socket_libevent.h
@@ -84,49 +84,49 @@ class NET_EXPORT TCPSocketLibevent {
const BoundNetLog& net_log() const { return net_log_; }
private:
- // States that a fast open socket attempt can result in.
+ // States that using a socket with TCP FastOpen can lead to.
enum FastOpenStatus {
FAST_OPEN_STATUS_UNKNOWN,
- // The initial fast open connect attempted returned synchronously,
+ // The initial TCP FastOpen connect attempted returned synchronously,
// indicating that we had and sent a cookie along with the initial data.
FAST_OPEN_FAST_CONNECT_RETURN,
- // The initial fast open connect attempted returned asynchronously,
+ // The initial TCP FastOpen connect attempted returned asynchronously,
// indicating that we did not have a cookie for the server.
FAST_OPEN_SLOW_CONNECT_RETURN,
// Some other error occurred on connection, so we couldn't tell if
- // fast open would have worked.
+ // TCP FastOpen would have worked.
FAST_OPEN_ERROR,
- // An attempt to do a fast open succeeded immediately
+ // An attempt to do a TCP FastOpen succeeded immediately
// (FAST_OPEN_FAST_CONNECT_RETURN) and we later confirmed that the server
// had acked the data we sent.
FAST_OPEN_SYN_DATA_ACK,
- // An attempt to do a fast open succeeded immediately
+ // An attempt to do a TCP FastOpen succeeded immediately
// (FAST_OPEN_FAST_CONNECT_RETURN) and we later confirmed that the server
// had nacked the data we sent.
FAST_OPEN_SYN_DATA_NACK,
- // An attempt to do a fast open succeeded immediately
+ // An attempt to do a TCP FastOpen succeeded immediately
// (FAST_OPEN_FAST_CONNECT_RETURN) and our probe to determine if the
- // socket was using fast open failed.
+ // socket was using TCP FastOpen failed.
FAST_OPEN_SYN_DATA_FAILED,
- // An attempt to do a fast open failed (FAST_OPEN_SLOW_CONNECT_RETURN)
+ // An attempt to do a TCP FastOpen failed (FAST_OPEN_SLOW_CONNECT_RETURN)
// and we later confirmed that the server had acked initial data. This
// should never happen (we didn't send data, so it shouldn't have
// been acked).
FAST_OPEN_NO_SYN_DATA_ACK,
- // An attempt to do a fast open failed (FAST_OPEN_SLOW_CONNECT_RETURN)
+ // An attempt to do a TCP FastOpen failed (FAST_OPEN_SLOW_CONNECT_RETURN)
// and we later discovered that the server had nacked initial data. This
// is the expected case results for FAST_OPEN_SLOW_CONNECT_RETURN.
FAST_OPEN_NO_SYN_DATA_NACK,
- // An attempt to do a fast open failed (FAST_OPEN_SLOW_CONNECT_RETURN)
+ // An attempt to do a TCP FastOpen failed (FAST_OPEN_SLOW_CONNECT_RETURN)
// and our later probe for ack/nack state failed.
FAST_OPEN_NO_SYN_DATA_FAILED,
« no previous file with comments | « no previous file | net/socket/tcp_socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698