Merge URLRequestJobFactoryImpl into URLRequestJobFactory.
There are only four URLRequestJobFactory implementations, and all but
URLRequestJobFactoryImpl are test-only. This CL removes one of them,
one is for FTP, which is deprecated. The last is for Cronet, which may
take some effort to unwrangle.
Ideally we'll eventually remove URLRequestJobFactory as well, but until
then, this simplifies things a bit.
Bug: 354158
Change-Id: I7e644ce6690692adc1231cf3a1464743ced073fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2394155
Reviewed-by: Eugene But <[email protected]>
Reviewed-by: Eric Roman <[email protected]>
Commit-Queue: Matt Menke <[email protected]>
Cr-Commit-Position: refs/heads/master@{#806313}
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index dae313b..a9f41b6 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -85,7 +85,7 @@
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/static_http_user_agent_settings.h"
#include "net/url_request/url_request.h"
-#include "net/url_request/url_request_job_factory_impl.h"
+#include "net/url_request/url_request_job_factory.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -6807,7 +6807,7 @@
HttpAuthHandlerFactory::CreateDefault());
storage_.set_http_server_properties(
std::make_unique<HttpServerProperties>());
- storage_.set_job_factory(std::make_unique<URLRequestJobFactoryImpl>());
+ storage_.set_job_factory(std::make_unique<URLRequestJobFactory>());
storage_.set_http_network_session(std::move(session));
storage_.set_http_transaction_factory(std::make_unique<HttpCache>(
storage_.http_network_session(), HttpCache::DefaultBackend::InMemory(0),