Home
last modified time | relevance | path

Searched refs:HttpError (Results 1 – 6 of 6) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
Dhttpbase.h56 HttpError* error);
58 void complete(HttpError err);
63 ProcessResult ProcessLine(const char* line, size_t len, HttpError* error);
67 HttpError* error) = 0;
70 HttpError* error) = 0;
72 HttpError* error) = 0;
74 HttpError* error) = 0;
75 virtual void OnComplete(HttpError err) = 0;
96 virtual HttpError onHttpHeaderComplete(bool chunked, size_t& data_size) = 0;
97 virtual void onHttpComplete(HttpMode mode, HttpError err) = 0;
[all …]
Dhttpclient.h69 typedef HttpError HttpErrorType;
163 HttpError WriteCacheHeaders(const std::string& id);
167 HttpError ReadCacheHeaders(const std::string& id, bool override);
168 HttpError ReadCacheBody(const std::string& id);
171 HttpError CompleteValidate();
173 HttpError OnHeaderAvailable(bool ignore_data, bool chunked, size_t data_size);
176 virtual HttpError onHttpHeaderComplete(bool chunked, size_t& data_size);
177 virtual void onHttpComplete(HttpMode mode, HttpError err);
178 virtual void onHttpClosed(HttpError err);
Dhttpbase.cc81 HttpError* error) { in Process()
145 HttpParser::ProcessLine(const char* line, size_t len, HttpError* error) { in ProcessLine()
237 HttpParser::complete(HttpError error) { in complete()
300 HttpError http_error; in Read()
356 HttpBase* Disconnect(HttpError error) { in Disconnect()
368 HttpError error_;
475 HttpBase::abort(HttpError err) { in abort()
491 HttpError HttpBase::HandleStreamClose(int error) { in HandleStreamClose()
510 bool HttpBase::DoReceiveLoop(HttpError* error) { in DoReceiveLoop()
593 HttpError error; in read_and_process_data()
[all …]
Dhttpclient.cc471 HttpError HttpClient::WriteCacheHeaders(const std::string& id) { in WriteCacheHeaders()
513 HttpError error = ReadCacheHeaders(id, true); in CheckCache()
548 HttpError HttpClient::ReadCacheHeaders(const std::string& id, bool override) { in ReadCacheHeaders()
566 HttpError HttpClient::ReadCacheBody(const std::string& id) { in ReadCacheBody()
569 HttpError error = HE_NONE; in ReadCacheBody()
616 HttpError HttpClient::CompleteValidate() { in CompleteValidate()
622 HttpError error = ReadCacheHeaders(id, false); in CompleteValidate()
634 HttpError HttpClient::OnHeaderAvailable(bool ignore_data, bool chunked, in OnHeaderAvailable()
655 HttpError HttpClient::onHttpHeaderComplete(bool chunked, size_t& data_size) { in onHttpHeaderComplete()
678 HttpError error = OnHeaderAvailable(base_.ignore_data(), chunked, data_size); in onHttpHeaderComplete()
[all …]
Dhttpcommon.h84 enum HttpError { enum
139 inline HttpError mkerr(HttpError err, HttpError def_err = HE_DEFAULT) {
385 virtual HttpError parseLeader(const char* line, size_t len) = 0;
406 virtual HttpError parseLeader(const char* line, size_t len);
429 virtual HttpError parseLeader(const char* line, size_t len);
Dhttpcommon.cc529 HttpError
647 HttpError