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

Unified Diff: net/socket/tcp_client_socket_libevent.cc

Issue 12209085: Add histograms to track localStorage size and load time by size. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add browser histograms and rename to clarify buckets. Created 7 years, 10 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/tcp_client_socket_libevent.cc
diff --git a/net/socket/tcp_client_socket_libevent.cc b/net/socket/tcp_client_socket_libevent.cc
index d1de66dbb36c833d326db9f837572be52f7c653a..07cc12972ec6aae14eeb3cac6f72e47f0e4d1a21 100644
--- a/net/socket/tcp_client_socket_libevent.cc
+++ b/net/socket/tcp_client_socket_libevent.cc
@@ -136,14 +136,11 @@ TCPClientSocketLibevent::TCPClientSocketLibevent(
connect_os_error_(0),
net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)),
previously_disconnected_(false),
- use_tcp_fastopen_(false),
+ use_tcp_fastopen_(is_tcp_fastopen_enabled()),
tcp_fastopen_connected_(false),
num_bytes_read_(0) {
net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE,
source.ToEventParametersCallback());
-
- if (is_tcp_fastopen_enabled())
- use_tcp_fastopen_ = true;
}
TCPClientSocketLibevent::~TCPClientSocketLibevent() {

Powered by Google App Engine
This is Rietveld 408576698