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 | 10 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 738 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
739 return false; | 739 return false; |
740 } | 740 } |
741 | 741 |
742 void GetSSLInfo(SSLInfo* ssl_info) override {} | 742 void GetSSLInfo(SSLInfo* ssl_info) override {} |
743 | 743 |
744 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 744 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
745 | 745 |
746 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } | 746 bool GetRemoteEndpoint(IPEndPoint* endpoint) override { return false; } |
747 | 747 |
| 748 int GetTokenBindingMessageHeader(std::string* out) override { |
| 749 return ERR_NOT_IMPLEMENTED; |
| 750 } |
| 751 |
748 void Drain(HttpNetworkSession* session) override {} | 752 void Drain(HttpNetworkSession* session) override {} |
749 | 753 |
750 void SetPriority(RequestPriority priority) override {} | 754 void SetPriority(RequestPriority priority) override {} |
751 | 755 |
752 UploadProgress GetUploadProgress() const override { | 756 UploadProgress GetUploadProgress() const override { |
753 return UploadProgress(); | 757 return UploadProgress(); |
754 } | 758 } |
755 | 759 |
756 HttpStream* RenewStreamForAuth() override { return nullptr; } | 760 HttpStream* RenewStreamForAuth() override { return nullptr; } |
757 | 761 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 req_->SetLoadFlags(LOAD_DISABLE_CACHE); | 793 req_->SetLoadFlags(LOAD_DISABLE_CACHE); |
790 job->Start(); | 794 job->Start(); |
791 base::RunLoop().RunUntilIdle(); | 795 base::RunLoop().RunUntilIdle(); |
792 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); | 796 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); |
793 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 797 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
794 } | 798 } |
795 | 799 |
796 } // namespace | 800 } // namespace |
797 | 801 |
798 } // namespace net | 802 } // namespace net |
OLD | NEW |