| 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 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 void Close(bool not_reusable) override {} | 120 void Close(bool not_reusable) override {} |
| 121 bool IsResponseBodyComplete() const override { return false; } | 121 bool IsResponseBodyComplete() const override { return false; } |
| 122 bool IsConnectionReused() const override { return false; } | 122 bool IsConnectionReused() const override { return false; } |
| 123 void SetConnectionReused() override {} | 123 void SetConnectionReused() override {} |
| 124 bool CanReuseConnection() const override { return false; } | 124 bool CanReuseConnection() const override { return false; } |
| 125 int64_t GetTotalReceivedBytes() const override { return 0; } | 125 int64_t GetTotalReceivedBytes() const override { return 0; } |
| 126 int64_t GetTotalSentBytes() const override { return 0; } | 126 int64_t GetTotalSentBytes() const override { return 0; } |
| 127 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 127 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
| 128 return false; | 128 return false; |
| 129 } | 129 } |
| 130 bool GetAlternativeService( |
| 131 AlternativeService* alternative_service) const override { |
| 132 return false; |
| 133 } |
| 130 void GetSSLInfo(SSLInfo* ssl_info) override {} | 134 void GetSSLInfo(SSLInfo* ssl_info) override {} |
| 131 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 135 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
| 132 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 136 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
| 133 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, | 137 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
| 134 TokenBindingType tb_type, | 138 TokenBindingType tb_type, |
| 135 std::vector<uint8_t>* out) override { | 139 std::vector<uint8_t>* out) override { |
| 136 ADD_FAILURE(); | 140 ADD_FAILURE(); |
| 137 return ERR_NOT_IMPLEMENTED; | 141 return ERR_NOT_IMPLEMENTED; |
| 138 } | 142 } |
| 139 void Drain(HttpNetworkSession* session) override {} | 143 void Drain(HttpNetworkSession* session) override {} |
| (...skipping 2623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2763 session->GetTransportSocketPool( | 2767 session->GetTransportSocketPool( |
| 2764 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2768 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
| 2765 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2769 EXPECT_EQ(1, GetSocketPoolGroupCount( |
| 2766 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2770 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
| 2767 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2771 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
| 2768 } | 2772 } |
| 2769 | 2773 |
| 2770 } // namespace | 2774 } // namespace |
| 2771 | 2775 |
| 2772 } // namespace net | 2776 } // namespace net |
| OLD | NEW |