| Index: net/test/url_request/url_request_mock_http_job.cc
|
| diff --git a/net/test/url_request/url_request_mock_http_job.cc b/net/test/url_request/url_request_mock_http_job.cc
|
| index 7fdcfaaf9012a40a2b5dc61acd79fb4f55f0ada4..fb4ec8a2569530091aea3bf364de22e5d0234e07 100644
|
| --- a/net/test/url_request/url_request_mock_http_job.cc
|
| +++ b/net/test/url_request/url_request_mock_http_job.cc
|
| @@ -203,15 +203,6 @@ bool URLRequestMockHTTPJob::GetMimeType(std::string* mime_type) const {
|
| return info.headers.get() && info.headers->GetMimeType(mime_type);
|
| }
|
|
|
| -int URLRequestMockHTTPJob::GetResponseCode() const {
|
| - HttpResponseInfo info;
|
| - GetResponseInfoConst(&info);
|
| - // If we have headers, get the response code from them.
|
| - if (info.headers.get())
|
| - return info.headers->response_code();
|
| - return URLRequestJob::GetResponseCode();
|
| -}
|
| -
|
| bool URLRequestMockHTTPJob::GetCharset(std::string* charset) {
|
| HttpResponseInfo info;
|
| GetResponseInfo(&info);
|
|
|