Home
last modified time | relevance | path

Searched refs:HttpStreamRequest (Results 1 – 17 of 17) sorted by relevance

/external/cronet/net/http/
Dhttp_stream_request.cc19 HttpStreamRequest::HttpStreamRequest( in HttpStreamRequest() function in net::HttpStreamRequest
22 HttpStreamRequest::Delegate* delegate, in HttpStreamRequest()
36 HttpStreamRequest::~HttpStreamRequest() { in ~HttpStreamRequest()
41 void HttpStreamRequest::Complete( in Complete()
54 int HttpStreamRequest::RestartTunnelWithProxyAuth() { in RestartTunnelWithProxyAuth()
58 void HttpStreamRequest::SetPriority(RequestPriority priority) { in SetPriority()
62 LoadState HttpStreamRequest::GetLoadState() const { in GetLoadState()
66 bool HttpStreamRequest::was_alpn_negotiated() const { in was_alpn_negotiated()
71 NextProto HttpStreamRequest::negotiated_protocol() const { in negotiated_protocol()
76 AlternateProtocolUsage HttpStreamRequest::alternate_protocol_usage() const { in alternate_protocol_usage()
[all …]
Dhttp_stream_factory.cc87 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::RequestStream( in RequestStream()
92 HttpStreamRequest::Delegate* delegate, in RequestStream()
98 nullptr, HttpStreamRequest::HTTP_STREAM, false /* is_websocket */, in RequestStream()
102 std::unique_ptr<HttpStreamRequest>
108 HttpStreamRequest::Delegate* delegate, in RequestWebSocketHandshakeStream()
116 create_helper, HttpStreamRequest::HTTP_STREAM, true /* is_websocket */, in RequestWebSocketHandshakeStream()
120 std::unique_ptr<HttpStreamRequest>
126 HttpStreamRequest::Delegate* delegate, in RequestBidirectionalStreamImpl()
134 nullptr, HttpStreamRequest::BIDIRECTIONAL_STREAM, in RequestBidirectionalStreamImpl()
139 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::RequestStreamInternal( in RequestStreamInternal()
[all …]
Dhttp_stream_factory.h80 std::unique_ptr<HttpStreamRequest> RequestStream(
85 HttpStreamRequest::Delegate* delegate,
93 std::unique_ptr<HttpStreamRequest> RequestWebSocketHandshakeStream(
98 HttpStreamRequest::Delegate* delegate,
109 virtual std::unique_ptr<HttpStreamRequest> RequestBidirectionalStreamImpl(
114 HttpStreamRequest::Delegate* delegate,
145 std::unique_ptr<HttpStreamRequest> RequestStreamInternal(
150 HttpStreamRequest::Delegate* delegate,
152 HttpStreamRequest::StreamType stream_type,
Dhttp_stream_factory_job_controller.h35 public HttpStreamRequest::Helper {
38 HttpStreamRequest::Delegate* delegate,
62 std::unique_ptr<HttpStreamRequest> Start(
63 HttpStreamRequest::Delegate* delegate,
67 HttpStreamRequest::StreamType stream_type,
246 HttpStreamRequest::Delegate* delegate,
247 HttpStreamRequest::StreamType stream_type);
251 HttpStreamRequest::Delegate* delegate,
252 HttpStreamRequest::StreamType stream_type);
300 raw_ptr<HttpStreamRequest, DanglingUntriaged> request_ = nullptr;
[all …]
Dhttp_stream_request.h40 class NET_EXPORT_PRIVATE HttpStreamRequest {
158 HttpStreamRequest(const GURL& url,
160 HttpStreamRequest::Delegate* delegate,
166 HttpStreamRequest(const HttpStreamRequest&) = delete;
167 HttpStreamRequest& operator=(const HttpStreamRequest&) = delete;
169 ~HttpStreamRequest();
Dhttp_stream_factory_unittest.cc219 class StreamRequestWaiter : public HttpStreamRequest::Delegate {
763 std::unique_ptr<HttpStreamRequest> request( in TEST_F()
817 std::unique_ptr<HttpStreamRequest> request( in TEST_F()
910 std::unique_ptr<HttpStreamRequest> request( in TEST_F()
1124 std::unique_ptr<HttpStreamRequest> request1( in TEST_F()
1133 std::unique_ptr<HttpStreamRequest> request2( in TEST_F()
1143 std::unique_ptr<HttpStreamRequest> request3( in TEST_F()
1193 std::unique_ptr<HttpStreamRequest> request1( in TEST_F()
1204 std::unique_ptr<HttpStreamRequest> request2( in TEST_F()
1216 std::unique_ptr<HttpStreamRequest> request3( in TEST_F()
[all …]
Dhttp_stream_factory_job_controller_unittest.cc170 HttpStreamRequest::Delegate* delegate, in GetAlternativeServiceInfoFor()
171 HttpStreamRequest::StreamType stream_type) { in GetAlternativeServiceInfoFor()
396 std::unique_ptr<HttpStreamRequest> request_;
460 HttpStreamRequest::HTTP_STREAM, DEFAULT_PRIORITY); in TEST_P()
497 HttpStreamRequest::HTTP_STREAM, DEFAULT_PRIORITY); in TEST_P()
532 HttpStreamRequest::HTTP_STREAM, DEFAULT_PRIORITY); in TEST_P()
557 std::unique_ptr<HttpStreamRequest> CreateJobController( in CreateJobController()
569 HttpStreamRequest::HTTP_STREAM, DEFAULT_PRIORITY); in CreateJobController()
726 std::unique_ptr<HttpStreamRequest> request = in TEST_F()
939 std::unique_ptr<HttpStreamRequest> request = in TEST_F()
[all …]
Dhttp_stream_factory_job_controller.cc131 HttpStreamRequest::Delegate* delegate, in JobController()
190 std::unique_ptr<HttpStreamRequest> HttpStreamFactory::JobController::Start( in Start()
191 HttpStreamRequest::Delegate* delegate, in Start()
195 HttpStreamRequest::StreamType stream_type, in Start()
203 auto request = std::make_unique<HttpStreamRequest>( in Start()
225 stream_type_ = HttpStreamRequest::HTTP_STREAM; in Preconnect()
312 DCHECK_EQ(HttpStreamRequest::HTTP_STREAM, request_->stream_type()); in OnStreamReady()
346 DCHECK_EQ(HttpStreamRequest::BIDIRECTIONAL_STREAM, request_->stream_type()); in OnBidirectionalStreamImplReady()
365 DCHECK_EQ(HttpStreamRequest::HTTP_STREAM, request_->stream_type()); in OnWebSocketHandshakeStreamReady()
1155 HttpStreamRequest::Delegate* delegate, in GetAlternativeServiceInfoFor()
[all …]
Dhttp_stream_factory_job.h174 void Start(HttpStreamRequest::StreamType stream_type);
211 HttpStreamRequest::StreamType stream_type() const { return stream_type_; } in stream_type()
479 HttpStreamRequest::StreamType stream_type_ =
480 HttpStreamRequest::BIDIRECTIONAL_STREAM;
Dhttp_stream_request_unittest.cc54 std::unique_ptr<HttpStreamRequest> request(job_controller_raw_ptr->Start( in TEST()
56 HttpStreamRequest::HTTP_STREAM, DEFAULT_PRIORITY)); in TEST()
Dbidirectional_stream.h46 public HttpStreamRequest::Delegate {
246 std::unique_ptr<HttpStreamRequest> stream_request_;
Dhttp_network_transaction.h52 public HttpStreamRequest::Delegate {
389 std::unique_ptr<HttpStreamRequest> stream_request_;
Dhttp_stream_factory_test_util.h46 class MockHttpStreamRequestDelegate : public HttpStreamRequest::Delegate {
Dhttp_stream_factory_job.cc261 void HttpStreamFactory::Job::Start(HttpStreamRequest::StreamType stream_type) { in Start()
613 } else if (stream_type_ == HttpStreamRequest::BIDIRECTIONAL_STREAM) { in RunLoop()
1071 if (stream_type_ == HttpStreamRequest::BIDIRECTIONAL_STREAM) { in DoInitConnectionComplete()
1155 if (stream_type_ == HttpStreamRequest::BIDIRECTIONAL_STREAM) { in SetSpdyHttpStreamOrBidirectionalStreamImpl()
Dhttp_network_transaction_unittest.cc19637 const HttpStreamRequest* stream_request = trans.stream_request_.get(); in TEST_F()
/external/cronet/net/docs/
Durl_request.dot85 HttpStreamRequest;
89 [label="HttpStreamRequest::Delegate",style=dashed];
100 HttpStreamRequest -> HttpNetworkTransaction [arrowhead="diamond"];
103 HttpStreamFactory_Job -> HttpStreamRequest
106 HttpStreamRequest_Delegate -> HttpStreamRequest
113 HttpStreamFactory -> HttpStreamRequest [arrowhead=veevee];
117 HttpStreamRequest -> HttpStream [arrowhead=veevee];
/external/cronet/net/url_request/
Dhttp_with_dns_over_https_unittest.cc228 class TestHttpDelegate : public HttpStreamRequest::Delegate {
297 std::unique_ptr<HttpStreamRequest> request(factory->RequestStream( in TEST_F()