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

Unified Diff: net/test/url_request/url_request_mock_http_job.cc

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/test/url_request/url_request_mock_http_job.h ('k') | net/tools/net_watcher/net_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
« no previous file with comments | « net/test/url_request/url_request_mock_http_job.h ('k') | net/tools/net_watcher/net_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698