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

Side by Side Diff: remoting/protocol/ssl_hmac_channel_authenticator.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 | « net/spdy/spdy_test_util_common.cc ('k') | no next file » | 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 "remoting/protocol/ssl_hmac_channel_authenticator.h" 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 NOTREACHED(); 107 NOTREACHED();
108 return net::ERR_FAILED; 108 return net::ERR_FAILED;
109 } 109 }
110 const net::BoundNetLog& NetLog() const override { return net_log_; } 110 const net::BoundNetLog& NetLog() const override { return net_log_; }
111 void SetSubresourceSpeculation() override { NOTREACHED(); } 111 void SetSubresourceSpeculation() override { NOTREACHED(); }
112 void SetOmniboxSpeculation() override { NOTREACHED(); } 112 void SetOmniboxSpeculation() override { NOTREACHED(); }
113 bool WasEverUsed() const override { 113 bool WasEverUsed() const override {
114 NOTREACHED(); 114 NOTREACHED();
115 return true; 115 return true;
116 } 116 }
117 bool UsingTCPFastOpen() const override {
118 NOTREACHED();
119 return false;
120 }
121 void EnableTCPFastOpenIfSupported() override { NOTREACHED(); } 117 void EnableTCPFastOpenIfSupported() override { NOTREACHED(); }
122 bool WasNpnNegotiated() const override { 118 bool WasNpnNegotiated() const override {
123 NOTREACHED(); 119 NOTREACHED();
124 return false; 120 return false;
125 } 121 }
126 net::NextProto GetNegotiatedProtocol() const override { 122 net::NextProto GetNegotiatedProtocol() const override {
127 NOTREACHED(); 123 NOTREACHED();
128 return net::kProtoUnknown; 124 return net::kProtoUnknown;
129 } 125 }
130 bool GetSSLInfo(net::SSLInfo* ssl_info) override { 126 bool GetSSLInfo(net::SSLInfo* ssl_info) override {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 std::move(socket_), std::move(server_context_)))); 438 std::move(socket_), std::move(server_context_))));
443 } 439 }
444 } 440 }
445 441
446 void SslHmacChannelAuthenticator::NotifyError(int error) { 442 void SslHmacChannelAuthenticator::NotifyError(int error) {
447 base::ResetAndReturn(&done_callback_).Run(error, nullptr); 443 base::ResetAndReturn(&done_callback_).Run(error, nullptr);
448 } 444 }
449 445
450 } // namespace protocol 446 } // namespace protocol
451 } // namespace remoting 447 } // namespace remoting
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698