| 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> |
| 8 |
| 7 #include <cstddef> | 9 #include <cstddef> |
| 8 | 10 |
| 9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
| 13 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
| 14 #include "net/base/auth.h" | 16 #include "net/base/auth.h" |
| 15 #include "net/base/request_priority.h" | 17 #include "net/base/request_priority.h" |
| 16 #include "net/base/test_data_directory.h" | 18 #include "net/base/test_data_directory.h" |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 bool IsResponseBodyComplete() const override { return false; } | 606 bool IsResponseBodyComplete() const override { return false; } |
| 605 | 607 |
| 606 bool CanFindEndOfResponse() const override { return false; } | 608 bool CanFindEndOfResponse() const override { return false; } |
| 607 | 609 |
| 608 bool IsConnectionReused() const override { return false; } | 610 bool IsConnectionReused() const override { return false; } |
| 609 void SetConnectionReused() override {} | 611 void SetConnectionReused() override {} |
| 610 | 612 |
| 611 bool IsConnectionReusable() const override { return false; } | 613 bool IsConnectionReusable() const override { return false; } |
| 612 | 614 |
| 613 int64 GetTotalReceivedBytes() const override { return 0; } | 615 int64 GetTotalReceivedBytes() const override { return 0; } |
| 616 int64_t GetTotalSentBytes() const override { return 0; } |
| 614 | 617 |
| 615 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { | 618 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override { |
| 616 return false; | 619 return false; |
| 617 } | 620 } |
| 618 | 621 |
| 619 void GetSSLInfo(SSLInfo* ssl_info) override {} | 622 void GetSSLInfo(SSLInfo* ssl_info) override {} |
| 620 | 623 |
| 621 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} | 624 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override {} |
| 622 | 625 |
| 623 bool IsSpdyHttpStream() const override { return false; } | 626 bool IsSpdyHttpStream() const override { return false; } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 req_->SetLoadFlags(LOAD_DISABLE_CACHE); | 669 req_->SetLoadFlags(LOAD_DISABLE_CACHE); |
| 667 job->Start(); | 670 job->Start(); |
| 668 base::RunLoop().RunUntilIdle(); | 671 base::RunLoop().RunUntilIdle(); |
| 669 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); | 672 EXPECT_EQ(URLRequestStatus::IO_PENDING, req_->status().status()); |
| 670 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); | 673 EXPECT_TRUE(fake_handshake_stream->initialize_stream_was_called()); |
| 671 } | 674 } |
| 672 | 675 |
| 673 } // namespace | 676 } // namespace |
| 674 | 677 |
| 675 } // namespace net | 678 } // namespace net |
| OLD | NEW |