Home
last modified time | relevance | path

Searched refs:HttpStreamFactory (Results 1 – 21 of 21) sorted by relevance

/external/cronet/net/http/
Dhttp_stream_factory_job.cc73 const char* NetLogHttpStreamJobType(HttpStreamFactory::JobType job_type) { in NetLogHttpStreamJobType()
75 case HttpStreamFactory::MAIN: in NetLogHttpStreamJobType()
77 case HttpStreamFactory::ALTERNATIVE: in NetLogHttpStreamJobType()
79 case HttpStreamFactory::DNS_ALPN_H3: in NetLogHttpStreamJobType()
81 case HttpStreamFactory::PRECONNECT: in NetLogHttpStreamJobType()
83 case HttpStreamFactory::PRECONNECT_DNS_ALPN_H3: in NetLogHttpStreamJobType()
95 HttpStreamFactory::JobType job_type, in NetLogHttpStreamJobParams()
117 HttpStreamFactory::Job::Job(Delegate* delegate, in Job()
245 HttpStreamFactory::Job::~Job() { in ~Job()
261 void HttpStreamFactory::Job::Start(HttpStreamRequest::StreamType stream_type) { in Start()
[all …]
Dhttp_stream_factory_test_util.cc20 HttpStreamFactory::Job::Delegate* delegate, in MockHttpStreamFactoryJob()
21 HttpStreamFactory::JobType job_type, in MockHttpStreamFactoryJob()
35 : HttpStreamFactory::Job(delegate, in MockHttpStreamFactoryJob()
56 HttpStreamFactory::Job::Resume(); in DoResume()
63 std::unique_ptr<HttpStreamFactory::Job> TestJobFactory::CreateJob( in CreateJob()
64 HttpStreamFactory::Job::Delegate* delegate, in CreateJob()
65 HttpStreamFactory::JobType job_type, in CreateJob()
88 case HttpStreamFactory::MAIN: in CreateJob()
91 case HttpStreamFactory::ALTERNATIVE: in CreateJob()
94 case HttpStreamFactory::DNS_ALPN_H3: in CreateJob()
[all …]
Dhttp_stream_factory_job_controller.cc129 HttpStreamFactory::JobController::JobController( in JobController()
130 HttpStreamFactory* factory, in JobController()
178 HttpStreamFactory::JobController::~JobController() { in ~JobController()
190 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::JobController::Start( in Start()
220 void HttpStreamFactory::JobController::Preconnect(int num_streams) { in Preconnect()
231 LoadState HttpStreamFactory::JobController::GetLoadState() const { in GetLoadState()
249 void HttpStreamFactory::JobController::OnRequestComplete() { in OnRequestComplete()
273 int HttpStreamFactory::JobController::RestartTunnelWithProxyAuth() { in RestartTunnelWithProxyAuth()
278 void HttpStreamFactory::JobController::SetPriority(RequestPriority priority) { in SetPriority()
293 void HttpStreamFactory::JobController::OnStreamReady( in OnStreamReady()
[all …]
Dhttp_stream_factory_test_util.h30 HttpStreamFactory* factory, in AddJobController()
31 std::unique_ptr<HttpStreamFactory::JobController> job_controller) { in AddJobController()
35 static bool IsJobControllerDeleted(HttpStreamFactory* factory) { in IsJobControllerDeleted()
39 static HttpStreamFactory::JobFactory* GetDefaultJobFactory( in GetDefaultJobFactory()
40 HttpStreamFactory* factory) { in GetDefaultJobFactory()
105 class MockHttpStreamFactoryJob : public HttpStreamFactory::Job {
107 MockHttpStreamFactoryJob(HttpStreamFactory::Job::Delegate* delegate,
108 HttpStreamFactory::JobType job_type,
133 class TestJobFactory : public HttpStreamFactory::JobFactory {
138 std::unique_ptr<HttpStreamFactory::Job> CreateJob(
[all …]
Dhttp_stream_factory.cc46 HttpStreamFactory::HttpStreamFactory(HttpNetworkSession* session) in HttpStreamFactory() function in net::HttpStreamFactory
49 HttpStreamFactory::~HttpStreamFactory() = default;
51 void HttpStreamFactory::ProcessAlternativeServices( in ProcessAlternativeServices()
77 url::SchemeHostPort HttpStreamFactory::RewriteHost( in RewriteHost()
87 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::RequestStream( in RequestStream()
103 HttpStreamFactory::RequestWebSocketHandshakeStream( in RequestWebSocketHandshakeStream()
121 HttpStreamFactory::RequestBidirectionalStreamImpl( in RequestBidirectionalStreamImpl()
139 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::RequestStreamInternal( in RequestStreamInternal()
167 void HttpStreamFactory::PreconnectStreams(int num_streams, in PreconnectStreams()
187 const HostMappingRules* HttpStreamFactory::GetHostMappingRules() const { in GetHostMappingRules()
[all …]
Dhttp_stream_factory.h41 class NET_EXPORT HttpStreamFactory {
65 explicit HttpStreamFactory(HttpNetworkSession* session);
67 HttpStreamFactory(const HttpStreamFactory&) = delete;
68 HttpStreamFactory& operator=(const HttpStreamFactory&) = delete;
70 virtual ~HttpStreamFactory();
Dhttp_stream_request_unittest.cc37 HttpStreamFactory* factory = session->http_stream_factory(); in TEST()
42 auto job_controller = std::make_unique<HttpStreamFactory::JobController>( in TEST()
50 HttpStreamFactory::JobController* job_controller_raw_ptr = in TEST()
Dhttp_network_session_peer.h16 class HttpStreamFactory; variable
34 std::unique_ptr<HttpStreamFactory> http_stream_factory);
Dhttp_stream_factory_job.h56 class HttpStreamFactory::Job
497 class HttpStreamFactory::JobFactory {
503 virtual std::unique_ptr<HttpStreamFactory::Job> CreateJob(
504 HttpStreamFactory::Job::Delegate* delegate,
505 HttpStreamFactory::JobType job_type,
Dhttp_stream_factory_job_controller.h33 class HttpStreamFactory::JobController
34 : public HttpStreamFactory::Job::Delegate,
37 JobController(HttpStreamFactory* factory,
292 raw_ptr<HttpStreamFactory, DanglingUntriaged> factory_;
Dhttp_stream_factory_job_controller_unittest.cc130 static int GetNumStreams(const HttpStreamFactory::Job* job) { in GetNumStreams()
136 const HttpStreamFactory::Job* job) { in GetSpdySessionKey()
140 static void SetShouldReconsiderProxy(HttpStreamFactory::Job* job) { in SetShouldReconsiderProxy()
144 static void SetStream(HttpStreamFactory::Job* job, in SetStream()
150 HttpStreamFactory::Job* job) { in SetQuicConnectionFailedOnDefaultNetwork()
158 HttpStreamFactory::JobController* job_controller) { in main_job_is_blocked()
163 HttpStreamFactory::JobController* job_controller) { in main_job_is_resumed()
168 HttpStreamFactory::JobController* job_controller, in GetAlternativeServiceInfoFor()
177 HttpStreamFactory::JobController* job_controller, in SelectQuicVersion()
183 HttpStreamFactory::JobController* job_controller) { in SetAltJobFailedOnDefaultNetwork()
[all …]
Dhttp_network_session_peer.cc25 std::unique_ptr<HttpStreamFactory> http_stream_factory) { in SetHttpStreamFactory()
Dhttp_network_session.h261 HttpStreamFactory* http_stream_factory() { in http_stream_factory()
351 std::unique_ptr<HttpStreamFactory> http_stream_factory_;
Dhttp_network_session.cc184 http_stream_factory_(std::make_unique<HttpStreamFactory>(this)), in HttpNetworkSession()
Dhttp_stream_factory_unittest.cc192 class MockHttpStreamFactoryForPreconnect : public HttpStreamFactory {
195 : HttpStreamFactory(session) {} in MockHttpStreamFactoryForPreconnect()
Dhttp_network_transaction_unittest.cc19086 HttpStreamFactory* http_stream_factory = session->http_stream_factory(); in TEST_F()
/external/cronet/net/docs/
Durl_request.dot83 ## HttpStreamFactory and related.
84 HttpStreamFactory;
87 HttpStreamFactory_Job [label="HttpStreamFactory::Job"];
113 HttpStreamFactory -> HttpStreamRequest [arrowhead=veevee];
Dlife-of-a-url-request.md43 HttpStreamFactory, the socket pools, and the HTTP/2 and QUIC session pools. It
48 above the HttpStreamFactory, objects often grab their dependencies from the
49 URLRequestContext, while the HttpStreamFactory and layers below it generally
209 * The HttpNetworkTransaction calls into the HttpStreamFactory to request an
225 then calls into the HttpStreamFactory to request an HttpStream to the server.
231 * HttpStreamFactory creates an HttpStreamFactory::Job.
232 * HttpStreamFactory::Job calls into the TransportClientSocketPool to
238 and calls into HttpStreamFactory::Job.
239 * HttpStreamFactory::Job creates an HttpBasicStream, which takes
243 The HttpStreamFactory::Job creates a ClientSocketHandle to hold a socket,
[all …]
Dcrash-course-in-net-internals.md96 * HTTP_STREAM_JOB: This corresponds to HttpStreamFactory::Job (note that one
/external/cronet/net/url_request/
Dhttp_with_dns_over_https_unittest.cc287 HttpStreamFactory::JobFactory default_job_factory; in TEST_F()
292 HttpStreamFactory* factory = network_session->http_stream_factory(); in TEST_F()
/external/cronet/net/spdy/
Dspdy_network_transaction_unittest.cc1109 HttpStreamFactory* http_stream_factory = in TEST_F()