Index: content/public/test/test_download_request_handler.cc |
diff --git a/content/public/test/test_download_request_handler.cc b/content/public/test/test_download_request_handler.cc |
index 180f37f22ca89108f2ee2ad4076b183e35a7c511..ec8d81ce09ae8f8b139127c6944d02e64be994a4 100644 |
--- a/content/public/test/test_download_request_handler.cc |
+++ b/content/public/test/test_download_request_handler.cc |
@@ -109,7 +109,6 @@ class TestDownloadRequestHandler::PartialResponseJob |
void GetResponseInfo(net::HttpResponseInfo* response_info) override; |
int64_t GetTotalReceivedBytes() const override; |
bool GetMimeType(std::string* mime_type) const override; |
- int GetResponseCode() const override; |
int ReadRawData(net::IOBuffer* buf, int buf_size) override; |
private: |
@@ -275,11 +274,6 @@ bool TestDownloadRequestHandler::PartialResponseJob::GetMimeType( |
return !parameters_->content_type.empty(); |
} |
-int TestDownloadRequestHandler::PartialResponseJob::GetResponseCode() const { |
- return response_info_.headers.get() ? response_info_.headers->response_code() |
- : 0; |
-} |
- |
int TestDownloadRequestHandler::PartialResponseJob::ReadRawData( |
net::IOBuffer* buf, |
int buf_size) { |