| 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 9e63c25b3e2dabf2836ceb8c815eaced55045b55..e0905f23cfa9e0f55646ac426b2d1d77829460e2 100644
|
| --- a/net/test/url_request/url_request_mock_http_job.cc
|
| +++ b/net/test/url_request/url_request_mock_http_job.cc
|
| @@ -122,16 +122,6 @@ void URLRequestMockHTTPJob::AddUrlHandlers(
|
| }
|
|
|
| // static
|
| -void URLRequestMockHTTPJob::AddHostnameToFileHandler(
|
| - const std::string& hostname,
|
| - const base::FilePath& file,
|
| - const scoped_refptr<base::SequencedWorkerPool>& worker_pool) {
|
| - net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance();
|
| - filter->AddHostnameInterceptor(
|
| - "http", hostname, CreateInterceptorForSingleFile(file, worker_pool));
|
| -}
|
| -
|
| -// static
|
| GURL URLRequestMockHTTPJob::GetMockUrl(const base::FilePath& path) {
|
| return GetMockUrlForScheme(path, "http");
|
| }
|
|
|