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

Unified Diff: net/proxy/proxy_script_fetcher_impl_unittest.cc

Issue 1888963004: Add HttpProtocolHandler and convert everything to use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-supports-scheme
Patch Set: rebase (needs fixing) Created 4 years, 2 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/net.gypi ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_script_fetcher_impl_unittest.cc
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc
index 3579ea5957374a3589fd2390065e3c9d8bbd6172..924d97f2869f48d0dbfe57357e1b038359e93881 100644
--- a/net/proxy/proxy_script_fetcher_impl_unittest.cc
+++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc
@@ -98,7 +98,8 @@ class RequestContext : public URLRequestContext {
storage_.http_network_session(), HttpCache::DefaultBackend::InMemory(0),
false));
std::unique_ptr<URLRequestJobFactoryImpl> job_factory =
- base::MakeUnique<URLRequestJobFactoryImpl>();
+ URLRequestJobFactoryImpl::CreateWithHttpProtocolHandlers();
+
#if !defined(DISABLE_FILE_SUPPORT)
job_factory->SetProtocolHandler("file",
base::MakeUnique<FileProtocolHandler>(
« no previous file with comments | « net/net.gypi ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698