Lines Matching refs:HTTPRequest
47 // calling class requesting a connectivity trial and the HTTPRequest that is
48 // used to test connectivity. ConnectivityTrial maps between the HTTPRequest
99 // Static method mapping from HTTPRequest responses to ConntectivityTrial
100 // phases for portal detection. For example, if the HTTPRequest result is
101 // HTTPRequest::kResultDNSFailure, this method returns a
105 static Result GetPortalResultForRequestResult(HTTPRequest::Result result);
117 // This allows the underlying HTTPRequest object to be reused. The URL is not
120 // returns true if the underlying HTTPRequest is still available. If the
121 // HTTPRequest was reset or never created, Retry will return false.
127 // the underlying HTTPRequest.
154 // Callback used to return data read from the HTTPRequest.
157 // Callback used to return the result of the HTTPRequest.
158 void RequestResultCallback(HTTPRequest::Result result,
166 // HTTPRequest. If |reset_request| is true, this method resets the underlying
167 // HTTPRequest object.
170 // Callback used to cancel the underlying HTTPRequest in the event of a
180 base::Callback<void(HTTPRequest::Result, const ByteString&)>
182 std::unique_ptr<HTTPRequest> request_;