| 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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 | 651 |
| 652 void Close(bool not_reusable) override {} | 652 void Close(bool not_reusable) override {} |
| 653 | 653 |
| 654 bool IsResponseBodyComplete() const override { return false; } | 654 bool IsResponseBodyComplete() const override { return false; } |
| 655 | 655 |
| 656 bool IsConnectionReused() const override { return false; } | 656 bool IsConnectionReused() const override { return false; } |
| 657 void SetConnectionReused() override {} | 657 void SetConnectionReused() override {} |
| 658 | 658 |
| 659 bool CanReuseConnection() const override { return false; } | 659 bool CanReuseConnection() const override { return false; } |
| 660 | 660 |
| 661 int64 GetTotalReceivedBytes() const override { return 0; } | 661 int64_t GetTotalReceivedBytes() const override { return 0; } |
| 662 int64_t GetTotalSentBytes() const override { return 0; } | 662 int64_t GetTotalSentBytes() const override { return 0; } |
| 663 | 663 |
| 664 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 664 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
| 665 return false; | 665 return false; |
| 666 } | 666 } |
| 667 | 667 |
| 668 void GetSSLInfo(SSLInfo* ssl_info) override {} | 668 void GetSSLInfo(SSLInfo* ssl_info) override {} |
| 669 | 669 |
| 670 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 670 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
| 671 | 671 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 req_->SetLoadFlags(LOAD_DISABLE_CACHE); | 713 req_->SetLoadFlags(LOAD_DISABLE_CACHE); |
| 714 job->Start(); | 714 job->Start(); |
| 715 base::RunLoop().RunUntilIdle(); | 715 base::RunLoop().RunUntilIdle(); |
| 716 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); | 716 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); |
| 717 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 717 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
| 718 } | 718 } |
| 719 | 719 |
| 720 } // namespace | 720 } // namespace |
| 721 | 721 |
| 722 } // namespace net | 722 } // namespace net |
| OLD | NEW |