Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: extensions/browser/extension_protocols.cc

Issue 2827233005: Remove URLRequestJob::GetResponseCode implementations outside of net/. (Closed)
Patch Set: Response to comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/update_client/url_request_post_interceptor.cc ('k') | ios/net/protocol_handler_util_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_protocols.cc
diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc
index ef0c65a5eb69b7396123bb41f469e7e38aeef68d..1c9e2a6cbb72c3cfd617108c27e08a15dd8250c0 100644
--- a/extensions/browser/extension_protocols.cc
+++ b/extensions/browser/extension_protocols.cc
@@ -202,10 +202,6 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
*info = response_info_;
}
- // This always returns 200 because a URLRequestExtensionJob will only get
- // created in MaybeCreateJob() if the file exists.
- int GetResponseCode() const override { return 200; }
-
void Start() override {
request_timer_.reset(new base::ElapsedTimer());
base::FilePath* read_file_path = new base::FilePath;
« no previous file with comments | « components/update_client/url_request_post_interceptor.cc ('k') | ios/net/protocol_handler_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698