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

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

Issue 2533063002: Fix Net.Socket.IdleSocketTimeSaving histogram (Closed)
Patch Set: self review Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/transport_client_socket_pool.h" 5 #include "net/socket/transport_client_socket_pool.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 542
543 void TransportClientSocketPool::CancelRequest( 543 void TransportClientSocketPool::CancelRequest(
544 const std::string& group_name, 544 const std::string& group_name,
545 ClientSocketHandle* handle) { 545 ClientSocketHandle* handle) {
546 base_.CancelRequest(group_name, handle); 546 base_.CancelRequest(group_name, handle);
547 } 547 }
548 548
549 void TransportClientSocketPool::ReleaseSocket( 549 void TransportClientSocketPool::ReleaseSocket(
550 const std::string& group_name, 550 const std::string& group_name,
551 std::unique_ptr<StreamSocket> socket, 551 std::unique_ptr<StreamSocket> socket,
552 int id) { 552 int id,
553 base_.ReleaseSocket(group_name, std::move(socket), id); 553 const LoadTimingInfo::ConnectTiming& connect_timing) {
554 base_.ReleaseSocket(group_name, std::move(socket), id, connect_timing);
554 } 555 }
555 556
556 void TransportClientSocketPool::FlushWithError(int error) { 557 void TransportClientSocketPool::FlushWithError(int error) {
557 base_.FlushWithError(error); 558 base_.FlushWithError(error);
558 } 559 }
559 560
560 void TransportClientSocketPool::CloseIdleSockets() { 561 void TransportClientSocketPool::CloseIdleSockets() {
561 base_.CloseIdleSockets(); 562 base_.CloseIdleSockets();
562 } 563 }
563 564
(...skipping 30 matching lines...) Expand all
594 HigherLayeredPool* higher_pool) { 595 HigherLayeredPool* higher_pool) {
595 base_.AddHigherLayeredPool(higher_pool); 596 base_.AddHigherLayeredPool(higher_pool);
596 } 597 }
597 598
598 void TransportClientSocketPool::RemoveHigherLayeredPool( 599 void TransportClientSocketPool::RemoveHigherLayeredPool(
599 HigherLayeredPool* higher_pool) { 600 HigherLayeredPool* higher_pool) {
600 base_.RemoveHigherLayeredPool(higher_pool); 601 base_.RemoveHigherLayeredPool(higher_pool);
601 } 602 }
602 603
603 } // namespace net 604 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool.h ('k') | net/socket/websocket_transport_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698