Index: ios/web/webui/url_data_manager_ios_backend.mm |
diff --git a/ios/web/webui/url_data_manager_ios_backend.mm b/ios/web/webui/url_data_manager_ios_backend.mm |
index ee2c895acf9d11c4bddc350c8069bb8aead00ae5..23a10945b6268b76c25c2a8cd2a0c086c0da766a 100644 |
--- a/ios/web/webui/url_data_manager_ios_backend.mm |
+++ b/ios/web/webui/url_data_manager_ios_backend.mm |
@@ -104,7 +104,6 @@ class URLRequestChromeJob : public net::URLRequestJob { |
void Kill() override; |
int ReadRawData(net::IOBuffer* buf, int buf_size) override; |
bool GetMimeType(std::string* mime_type) const override; |
- int GetResponseCode() const override; |
void GetResponseInfo(net::HttpResponseInfo* info) override; |
// Used to notify that the requested data's |mime_type| is ready. |
@@ -250,10 +249,6 @@ bool URLRequestChromeJob::GetMimeType(std::string* mime_type) const { |
return !mime_type_.empty(); |
} |
-int URLRequestChromeJob::GetResponseCode() const { |
- return net::HTTP_OK; |
-} |
- |
void URLRequestChromeJob::GetResponseInfo(net::HttpResponseInfo* info) { |
DCHECK(!info->headers.get()); |
// Set the headers so that requests serviced by ChromeURLDataManagerIOS |