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

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

Issue 1821633003: net: remove UsingTCPFastOpen() method from StreamSocket class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove use_tcp_fastopen_ from transport_client_socket_pool_test_util.cc Created 4 years, 9 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
« 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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <cstdlib> 9 #include <cstdlib>
10 #include <utility> 10 #include <utility>
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 324 }
325 325
326 void FakeSSLClientSocket::SetOmniboxSpeculation() { 326 void FakeSSLClientSocket::SetOmniboxSpeculation() {
327 transport_socket_->SetOmniboxSpeculation(); 327 transport_socket_->SetOmniboxSpeculation();
328 } 328 }
329 329
330 bool FakeSSLClientSocket::WasEverUsed() const { 330 bool FakeSSLClientSocket::WasEverUsed() const {
331 return transport_socket_->WasEverUsed(); 331 return transport_socket_->WasEverUsed();
332 } 332 }
333 333
334 bool FakeSSLClientSocket::UsingTCPFastOpen() const {
335 return transport_socket_->UsingTCPFastOpen();
336 }
337
338 bool FakeSSLClientSocket::WasNpnNegotiated() const { 334 bool FakeSSLClientSocket::WasNpnNegotiated() const {
339 return transport_socket_->WasNpnNegotiated(); 335 return transport_socket_->WasNpnNegotiated();
340 } 336 }
341 337
342 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { 338 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const {
343 return transport_socket_->GetNegotiatedProtocol(); 339 return transport_socket_->GetNegotiatedProtocol();
344 } 340 }
345 341
346 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { 342 bool FakeSSLClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) {
347 return transport_socket_->GetSSLInfo(ssl_info); 343 return transport_socket_->GetSSLInfo(ssl_info);
348 } 344 }
349 345
350 void FakeSSLClientSocket::GetConnectionAttempts( 346 void FakeSSLClientSocket::GetConnectionAttempts(
351 net::ConnectionAttempts* out) const { 347 net::ConnectionAttempts* out) const {
352 out->clear(); 348 out->clear();
353 } 349 }
354 350
355 int64_t FakeSSLClientSocket::GetTotalReceivedBytes() const { 351 int64_t FakeSSLClientSocket::GetTotalReceivedBytes() const {
356 NOTIMPLEMENTED(); 352 NOTIMPLEMENTED();
357 return 0; 353 return 0;
358 } 354 }
359 355
360 } // namespace jingle_glue 356 } // 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