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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 base::RunLoop().RunUntilIdle(); | 945 base::RunLoop().RunUntilIdle(); |
945 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); | 946 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); |
946 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 947 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
947 } | 948 } |
948 | 949 |
949 #endif // defined(ENABLE_WEBSOCKETS) | 950 #endif // defined(ENABLE_WEBSOCKETS) |
950 | 951 |
951 } // namespace | 952 } // namespace |
952 | 953 |
953 } // namespace net | 954 } // namespace net |
OLD | NEW |