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

Unified Diff: net/url_request/url_request_test_job.cc

Issue 2835533002: Remove URLRequestJob::GetResponseCode implementations (Closed)
Patch Set: 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 | « net/url_request/url_request_test_job.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_job.cc
diff --git a/net/url_request/url_request_test_job.cc b/net/url_request/url_request_test_job.cc
index ab359b4e67babfd1ae41f4900b1497b593c834b3..a3512f911c7bfb40d93945e4242f42c90a87d5a3 100644
--- a/net/url_request/url_request_test_job.cc
+++ b/net/url_request/url_request_test_job.cc
@@ -296,12 +296,6 @@ void URLRequestTestJob::GetLoadTimingInfo(
load_timing_info->request_start_time = request_start_time;
}
-int URLRequestTestJob::GetResponseCode() const {
- if (response_headers_.get())
- return response_headers_->response_code();
- return -1;
-}
-
int64_t URLRequestTestJob::GetTotalReceivedBytes() const {
return response_headers_length_ + offset_;
}
« no previous file with comments | « net/url_request/url_request_test_job.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698