summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request_test_job.cc6
-rw-r--r--net/url_request/url_request_test_job.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/net/url_request/url_request_test_job.cc b/net/url_request/url_request_test_job.cc
index 363d178..b1e3b5c 100644
--- a/net/url_request/url_request_test_job.cc
+++ b/net/url_request/url_request_test_job.cc
@@ -183,12 +183,6 @@ void URLRequestTestJob::GetResponseInfo(net::HttpResponseInfo* info) {
info->headers = response_headers_;
}
-int URLRequestTestJob::GetResponseCode() const {
- if (response_headers_)
- return response_headers_->response_code();
- return -1;
-}
-
bool URLRequestTestJob::IsRedirectResponse(GURL* location,
int* http_status_code) {
if (!response_headers_)
diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h
index f618c07..4daabf6 100644
--- a/net/url_request/url_request_test_job.h
+++ b/net/url_request/url_request_test_job.h
@@ -93,7 +93,6 @@ class URLRequestTestJob : public URLRequestJob {
virtual void Kill();
virtual bool GetMimeType(std::string* mime_type) const;
virtual void GetResponseInfo(net::HttpResponseInfo* info);
- virtual int GetResponseCode() const;
virtual bool IsRedirectResponse(GURL* location, int* http_status_code);
protected: