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

Side by Side Diff: net/spdy/spdy_test_util_common.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/spdy/spdy_test_util_common.h" 5 #include "net/spdy/spdy_test_util_common.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <cstddef> 8 #include <cstddef>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 int Connect(const CompletionCallback& callback) override { 598 int Connect(const CompletionCallback& callback) override {
599 ADD_FAILURE(); 599 ADD_FAILURE();
600 return ERR_UNEXPECTED; 600 return ERR_UNEXPECTED;
601 } 601 }
602 602
603 bool WasEverUsed() const override { 603 bool WasEverUsed() const override {
604 ADD_FAILURE(); 604 ADD_FAILURE();
605 return false; 605 return false;
606 } 606 }
607 607
608 bool UsingTCPFastOpen() const override {
609 ADD_FAILURE();
610 return false;
611 }
612
613 bool WasNpnNegotiated() const override { 608 bool WasNpnNegotiated() const override {
614 ADD_FAILURE(); 609 ADD_FAILURE();
615 return false; 610 return false;
616 } 611 }
617 612
618 bool GetSSLInfo(SSLInfo* ssl_info) override { 613 bool GetSSLInfo(SSLInfo* ssl_info) override {
619 ADD_FAILURE(); 614 ADD_FAILURE();
620 return false; 615 return false;
621 } 616 }
622 617
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 } 1263 }
1269 } 1264 }
1270 1265
1271 void SpdyTestUtil::SetPriority(RequestPriority priority, 1266 void SpdyTestUtil::SetPriority(RequestPriority priority,
1272 SpdySynStreamIR* ir) const { 1267 SpdySynStreamIR* ir) const {
1273 ir->set_priority(ConvertRequestPriorityToSpdyPriority( 1268 ir->set_priority(ConvertRequestPriorityToSpdyPriority(
1274 priority, spdy_version())); 1269 priority, spdy_version()));
1275 } 1270 }
1276 1271
1277 } // namespace net 1272 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | remoting/protocol/ssl_hmac_channel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698