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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
123 std::vector<uint8_t>* out) override { | 123 std::vector<uint8_t>* out) override { |
124 ADD_FAILURE(); | 124 ADD_FAILURE(); |
125 return ERR_NOT_IMPLEMENTED; | 125 return ERR_NOT_IMPLEMENTED; |
126 } | 126 } |
127 void Drain(HttpNetworkSession* session) override {} | 127 void Drain(HttpNetworkSession* session) override {} |
128 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } | 128 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } |
129 void SetPriority(RequestPriority priority) override {} | 129 void SetPriority(RequestPriority priority) override {} |
130 UploadProgress GetUploadProgress() const override { return UploadProgress(); } | |
131 HttpStream* RenewStreamForAuth() override { return nullptr; } | 130 HttpStream* RenewStreamForAuth() override { return nullptr; } |
132 | 131 |
133 std::unique_ptr<WebSocketStream> Upgrade() override { | 132 std::unique_ptr<WebSocketStream> Upgrade() override { |
134 return std::unique_ptr<WebSocketStream>(); | 133 return std::unique_ptr<WebSocketStream>(); |
135 } | 134 } |
136 | 135 |
137 private: | 136 private: |
138 const StreamType type_; | 137 const StreamType type_; |
139 }; | 138 }; |
140 | 139 |
(...skipping 2110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 session->GetTransportSocketPool( | 2250 session->GetTransportSocketPool( |
2252 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2251 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2253 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2252 EXPECT_EQ(1, GetSocketPoolGroupCount( |
2254 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2253 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2255 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2254 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
2256 } | 2255 } |
2257 | 2256 |
2258 } // namespace | 2257 } // namespace |
2259 | 2258 |
2260 } // namespace net | 2259 } // namespace net |
OLD | NEW |