OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/url_request/url_request_http_job.h" | 5 #include "net/url_request/url_request_http_job.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <cstddef> | 9 #include <cstddef> |
10 #include <memory> | 10 #include <memory> |
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1129 |
1130 bool CanReuseConnection() const override { return false; } | 1130 bool CanReuseConnection() const override { return false; } |
1131 | 1131 |
1132 int64_t GetTotalReceivedBytes() const override { return 0; } | 1132 int64_t GetTotalReceivedBytes() const override { return 0; } |
1133 int64_t GetTotalSentBytes() const override { return 0; } | 1133 int64_t GetTotalSentBytes() const override { return 0; } |
1134 | 1134 |
1135 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 1135 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
1136 return false; | 1136 return false; |
1137 } | 1137 } |
1138 | 1138 |
| 1139 bool GetAlternativeService( |
| 1140 AlternativeService* alternative_service) const override { |
| 1141 return false; |
| 1142 } |
| 1143 |
1139 void GetSSLInfo(SSLInfo* ssl_info) override {} | 1144 void GetSSLInfo(SSLInfo* ssl_info) override {} |
1140 | 1145 |
1141 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 1146 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
1142 | 1147 |
1143 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 1148 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
1144 | 1149 |
1145 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, | 1150 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
1146 TokenBindingType tb_type, | 1151 TokenBindingType tb_type, |
1147 std::vector<uint8_t>* out) override { | 1152 std::vector<uint8_t>* out) override { |
1148 ADD_FAILURE(); | 1153 ADD_FAILURE(); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1188 base::RunLoop().RunUntilIdle(); | 1193 base::RunLoop().RunUntilIdle(); |
1189 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING)); | 1194 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING)); |
1190 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 1195 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
1191 } | 1196 } |
1192 | 1197 |
1193 #endif // BUILDFLAG(ENABLE_WEBSOCKETS) | 1198 #endif // BUILDFLAG(ENABLE_WEBSOCKETS) |
1194 | 1199 |
1195 } // namespace | 1200 } // namespace |
1196 | 1201 |
1197 } // namespace net | 1202 } // namespace net |
OLD | NEW |