OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |