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 "net/http/http_stream_factory_impl.h" | 5 #include "net/http/http_stream_factory_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 void SetConnectionReused() override {} | 112 void SetConnectionReused() override {} |
113 bool CanReuseConnection() const override { return false; } | 113 bool CanReuseConnection() const override { return false; } |
114 int64_t GetTotalReceivedBytes() const override { return 0; } | 114 int64_t GetTotalReceivedBytes() const override { return 0; } |
115 int64_t GetTotalSentBytes() const override { return 0; } | 115 int64_t GetTotalSentBytes() const override { return 0; } |
116 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 116 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
117 return false; | 117 return false; |
118 } | 118 } |
119 void GetSSLInfo(SSLInfo* ssl_info) override {} | 119 void GetSSLInfo(SSLInfo* ssl_info) override {} |
120 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 120 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
121 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 121 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
122 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, | 122 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
123 std::vector<uint8_t>* out) override { | 123 TokenBindingType tb_type, |
| 124 std::vector<uint8_t>* out) override { |
124 ADD_FAILURE(); | 125 ADD_FAILURE(); |
125 return ERR_NOT_IMPLEMENTED; | 126 return ERR_NOT_IMPLEMENTED; |
126 } | 127 } |
127 void Drain(HttpNetworkSession* session) override {} | 128 void Drain(HttpNetworkSession* session) override {} |
128 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } | 129 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } |
129 void SetPriority(RequestPriority priority) override {} | 130 void SetPriority(RequestPriority priority) override {} |
130 HttpStream* RenewStreamForAuth() override { return nullptr; } | 131 HttpStream* RenewStreamForAuth() override { return nullptr; } |
131 | 132 |
132 std::unique_ptr<WebSocketStream> Upgrade() override { | 133 std::unique_ptr<WebSocketStream> Upgrade() override { |
133 return std::unique_ptr<WebSocketStream>(); | 134 return std::unique_ptr<WebSocketStream>(); |
(...skipping 2116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 session->GetTransportSocketPool( | 2251 session->GetTransportSocketPool( |
2251 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2252 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2252 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2253 EXPECT_EQ(1, GetSocketPoolGroupCount( |
2253 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2254 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2254 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2255 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
2255 } | 2256 } |
2256 | 2257 |
2257 } // namespace | 2258 } // namespace |
2258 | 2259 |
2259 } // namespace net | 2260 } // namespace net |
OLD | NEW |