Home | History | Annotate | Download | only in shill

Lines Matching refs:HTTPRequest

47 const int HTTPRequest::kConnectTimeoutSeconds = 10;
48 const int HTTPRequest::kDNSTimeoutSeconds = 5;
49 const int HTTPRequest::kInputTimeoutSeconds = 10;
51 const char HTTPRequest::kHTTPRequestTemplate[] =
56 HTTPRequest::HTTPRequest(ConnectionRefPtr connection,
64 Bind(&HTTPRequest::OnConnectCompletion,
66 dns_client_callback_(Bind(&HTTPRequest::GetDNSResult,
68 read_server_callback_(Bind(&HTTPRequest::ReadFromServer,
70 write_server_callback_(Bind(&HTTPRequest::WriteToServer,
89 HTTPRequest::~HTTPRequest() {
93 HTTPRequest::Result HTTPRequest::Start(
138 void HTTPRequest::Stop() {
169 bool HTTPRequest::ConnectServer(const IPAddress& address, int port) {
185 void HTTPRequest::GetDNSResult(const Error& error, const IPAddress& address) {
204 void HTTPRequest::OnConnectCompletion(bool success, int fd) {
223 void HTTPRequest::OnServerReadError(const string& /*error_msg*/) {
229 void HTTPRequest::ReadFromServer(InputData* data) {
243 void HTTPRequest::SendStatus(Result result) {
257 void HTTPRequest::StartIdleTimeout(int timeout_seconds, Result timeout_result) {
260 Bind(&HTTPRequest::TimeoutTask, weak_ptr_factory_.GetWeakPtr()));
265 void HTTPRequest::TimeoutTask() {
274 void HTTPRequest::WriteToServer(int fd) {
298 Bind(&HTTPRequest::OnServerReadError, weak_ptr_factory_.GetWeakPtr())));