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

Side by Side Diff: jingle/glue/proxy_resolving_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/proxy_resolving_client_socket.h ('k') | net/http/http_proxy_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/proxy_resolving_client_socket.h" 5 #include "jingle/glue/proxy_resolving_client_socket.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 NOTREACHED(); 393 NOTREACHED();
394 } 394 }
395 395
396 bool ProxyResolvingClientSocket::WasEverUsed() const { 396 bool ProxyResolvingClientSocket::WasEverUsed() const {
397 if (transport_.get() && transport_->socket()) 397 if (transport_.get() && transport_->socket())
398 return transport_->socket()->WasEverUsed(); 398 return transport_->socket()->WasEverUsed();
399 NOTREACHED(); 399 NOTREACHED();
400 return false; 400 return false;
401 } 401 }
402 402
403 bool ProxyResolvingClientSocket::UsingTCPFastOpen() const {
404 if (transport_.get() && transport_->socket())
405 return transport_->socket()->UsingTCPFastOpen();
406 NOTREACHED();
407 return false;
408 }
409
410 bool ProxyResolvingClientSocket::WasNpnNegotiated() const { 403 bool ProxyResolvingClientSocket::WasNpnNegotiated() const {
411 return false; 404 return false;
412 } 405 }
413 406
414 net::NextProto ProxyResolvingClientSocket::GetNegotiatedProtocol() const { 407 net::NextProto ProxyResolvingClientSocket::GetNegotiatedProtocol() const {
415 if (transport_.get() && transport_->socket()) 408 if (transport_.get() && transport_->socket())
416 return transport_->socket()->GetNegotiatedProtocol(); 409 return transport_->socket()->GetNegotiatedProtocol();
417 NOTREACHED(); 410 NOTREACHED();
418 return net::kProtoUnknown; 411 return net::kProtoUnknown;
419 } 412 }
(...skipping 12 matching lines...) Expand all
432 return 0; 425 return 0;
433 } 426 }
434 427
435 void ProxyResolvingClientSocket::CloseTransportSocket() { 428 void ProxyResolvingClientSocket::CloseTransportSocket() {
436 if (transport_.get() && transport_->socket()) 429 if (transport_.get() && transport_->socket())
437 transport_->socket()->Disconnect(); 430 transport_->socket()->Disconnect();
438 transport_.reset(); 431 transport_.reset();
439 } 432 }
440 433
441 } // namespace jingle_glue 434 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.h ('k') | net/http/http_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698