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

Side by Side Diff: jingle/glue/fake_ssl_client_socket.cc

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « jingle/glue/fake_ssl_client_socket.h ('k') | jingle/glue/proxy_resolving_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "jingle/glue/fake_ssl_client_socket.h" 5 #include "jingle/glue/fake_ssl_client_socket.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 } 323 }
324 324
325 bool FakeSSLClientSocket::WasEverUsed() const { 325 bool FakeSSLClientSocket::WasEverUsed() const {
326 return transport_socket_->WasEverUsed(); 326 return transport_socket_->WasEverUsed();
327 } 327 }
328 328
329 bool FakeSSLClientSocket::UsingTCPFastOpen() const { 329 bool FakeSSLClientSocket::UsingTCPFastOpen() const {
330 return transport_socket_->UsingTCPFastOpen(); 330 return transport_socket_->UsingTCPFastOpen();
331 } 331 }
332 332
333 int64 FakeSSLClientSocket::NumBytesRead() const {
334 return transport_socket_->NumBytesRead();
335 }
336
337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const {
338 return transport_socket_->GetConnectTimeMicros();
339 }
340
341 bool FakeSSLClientSocket::WasNpnNegotiated() const { 333 bool FakeSSLClientSocket::WasNpnNegotiated() const {
342 return transport_socket_->WasNpnNegotiated(); 334 return transport_socket_->WasNpnNegotiated();
343 } 335 }
344 336
345 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { 337 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const {
346 return transport_socket_->GetNegotiatedProtocol(); 338 return transport_socket_->GetNegotiatedProtocol();
347 } 339 }
348 340
349 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { 341 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) {
350 return transport_socket_->GetSSLInfo(ssl_info); 342 return transport_socket_->GetSSLInfo(ssl_info);
351 } 343 }
352 344
353 } // namespace jingle_glue 345 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/fake_ssl_client_socket.h ('k') | jingle/glue/proxy_resolving_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698