OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_job.h" | 5 #include "net/url_request/url_request_job.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 99 } |
100 | 100 |
101 void URLRequestJob::StopCaching() { | 101 void URLRequestJob::StopCaching() { |
102 // Nothing to do here. | 102 // Nothing to do here. |
103 } | 103 } |
104 | 104 |
105 LoadState URLRequestJob::GetLoadState() const { | 105 LoadState URLRequestJob::GetLoadState() const { |
106 return LOAD_STATE_IDLE; | 106 return LOAD_STATE_IDLE; |
107 } | 107 } |
108 | 108 |
109 uint64 URLRequestJob::GetUploadProgress() const { | 109 UploadProgress URLRequestJob::GetUploadProgress() const { |
110 return 0; | 110 return UploadProgress(); |
111 } | 111 } |
112 | 112 |
113 bool URLRequestJob::GetCharset(std::string* charset) { | 113 bool URLRequestJob::GetCharset(std::string* charset) { |
114 return false; | 114 return false; |
115 } | 115 } |
116 | 116 |
117 void URLRequestJob::GetResponseInfo(HttpResponseInfo* info) { | 117 void URLRequestJob::GetResponseInfo(HttpResponseInfo* info) { |
118 } | 118 } |
119 | 119 |
120 bool URLRequestJob::GetResponseCookies(std::vector<std::string>* cookies) { | 120 bool URLRequestJob::GetResponseCookies(std::vector<std::string>* cookies) { |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 } | 699 } |
700 | 700 |
701 bool URLRequestJob::FilterHasData() { | 701 bool URLRequestJob::FilterHasData() { |
702 return filter_.get() && filter_->stream_data_len(); | 702 return filter_.get() && filter_->stream_data_len(); |
703 } | 703 } |
704 | 704 |
705 void URLRequestJob::UpdatePacketReadTimes() { | 705 void URLRequestJob::UpdatePacketReadTimes() { |
706 } | 706 } |
707 | 707 |
708 } // namespace net | 708 } // namespace net |
OLD | NEW |