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

Side by Side Diff: net/socket/websocket_transport_client_socket_pool.cc

Issue 1376473003: Notify NQE of TCP RTT values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/socket/websocket_transport_client_socket_pool.h" 5 #include "net/socket/websocket_transport_client_socket_pool.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool( 231 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool(
232 int max_sockets, 232 int max_sockets,
233 int max_sockets_per_group, 233 int max_sockets_per_group,
234 HostResolver* host_resolver, 234 HostResolver* host_resolver,
235 ClientSocketFactory* client_socket_factory, 235 ClientSocketFactory* client_socket_factory,
236 NetLog* net_log) 236 NetLog* net_log)
237 : TransportClientSocketPool(max_sockets, 237 : TransportClientSocketPool(max_sockets,
238 max_sockets_per_group, 238 max_sockets_per_group,
239 host_resolver, 239 host_resolver,
240 client_socket_factory, 240 client_socket_factory,
241 /*socket_performance_watcher_factory=*/nullptr,
241 net_log), 242 net_log),
242 connect_job_delegate_(this), 243 connect_job_delegate_(this),
243 pool_net_log_(net_log), 244 pool_net_log_(net_log),
244 client_socket_factory_(client_socket_factory), 245 client_socket_factory_(client_socket_factory),
245 host_resolver_(host_resolver), 246 host_resolver_(host_resolver),
246 max_sockets_(max_sockets), 247 max_sockets_(max_sockets),
247 handed_out_socket_count_(0), 248 handed_out_socket_count_(0),
248 flushing_(false), 249 flushing_(false),
249 weak_factory_(this) {} 250 weak_factory_(this) {}
250 251
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 const BoundNetLog& net_log) 636 const BoundNetLog& net_log)
636 : params(params), 637 : params(params),
637 priority(priority), 638 priority(priority),
638 handle(handle), 639 handle(handle),
639 callback(callback), 640 callback(callback),
640 net_log(net_log) {} 641 net_log(net_log) {}
641 642
642 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} 643 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {}
643 644
644 } // namespace net 645 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698