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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 887 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
888 return false; | 888 return false; |
889 } | 889 } |
890 | 890 |
891 void GetSSLInfo(SSLInfo* ssl_info) override {} | 891 void GetSSLInfo(SSLInfo* ssl_info) override {} |
892 | 892 |
893 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 893 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
894 | 894 |
895 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 895 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
896 | 896 |
897 Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, | 897 Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
898 std::vector<uint8_t>* out) override { | 898 TokenBindingType tb_type, |
| 899 std::vector<uint8_t>* out) override { |
899 ADD_FAILURE(); | 900 ADD_FAILURE(); |
900 return ERR_NOT_IMPLEMENTED; | 901 return ERR_NOT_IMPLEMENTED; |
901 } | 902 } |
902 | 903 |
903 void Drain(HttpNetworkSession* session) override {} | 904 void Drain(HttpNetworkSession* session) override {} |
904 | 905 |
905 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } | 906 void PopulateNetErrorDetails(NetErrorDetails* details) override { return; } |
906 | 907 |
907 void SetPriority(RequestPriority priority) override {} | 908 void SetPriority(RequestPriority priority) override {} |
908 | 909 |
(...skipping 30 matching lines...) Expand all Loading... |
939 base::RunLoop().RunUntilIdle(); | 940 base::RunLoop().RunUntilIdle(); |
940 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING)); | 941 EXPECT_THAT(delegate_.request_status(), IsError(ERR_IO_PENDING)); |
941 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 942 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
942 } | 943 } |
943 | 944 |
944 #endif // defined(ENABLE_WEBSOCKETS) | 945 #endif // defined(ENABLE_WEBSOCKETS) |
945 | 946 |
946 } // namespace | 947 } // namespace |
947 | 948 |
948 } // namespace net | 949 } // namespace net |
OLD | NEW |