19 #ifndef NET_INSTAWEB_HTTP_PUBLIC_URL_ASYNC_FETCHER_H_
20 #define NET_INSTAWEB_HTTP_PUBLIC_URL_ASYNC_FETCHER_H_
25 namespace net_instaweb {
35 static const int64 kUnspecifiedTimeout;
58 virtual int64
timeout_ms() {
return kUnspecifiedTimeout; }
69 bool fetch_with_gzip()
const {
return fetch_with_gzip_; }
81 bool fetch_with_gzip_;
virtual int64 timeout_ms()
Definition: url_async_fetcher.h:58
void set_fetch_with_gzip(bool x)
Definition: url_async_fetcher.h:68
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: async_fetch.h:53
virtual void Fetch(const GoogleString &url, MessageHandler *message_handler, AsyncFetch *fetch)=0
Definition: message_handler.h:39
UrlAsyncFetcher()
Definition: url_async_fetcher.h:78
AsyncFetch * EnableInflation(AsyncFetch *fetch) const
virtual bool SupportsHttps() const
Definition: url_async_fetcher.h:54
Definition: url_async_fetcher.h:33