20 #ifndef NET_INSTAWEB_HTTP_PUBLIC_EXTERNAL_URL_FETCHER_H_
21 #define NET_INSTAWEB_HTTP_PUBLIC_EXTERNAL_URL_FETCHER_H_
28 namespace net_instaweb {
61 StringVector* escaped_headers);
66 virtual const char* GetFetchLabel() = 0;
75 const char* user_agent,
76 const StringVector& escaped_headers) = 0;
static const char kDefaultUserAgent[]
Default user agent to use.
Definition: external_url_fetcher.h:51
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: async_fetch.h:53
void set_binary(const GoogleString &binary)
Sets the path to "binary" when fetching using "how".
Definition: external_url_fetcher.h:39
Definition: message_handler.h:39
virtual void Fetch(const GoogleString &url, MessageHandler *message_handler, AsyncFetch *fetch)
virtual void AppendHeaders(const RequestHeaders &request_headers, StringVector *escaped_headers)
Definition: url_async_fetcher.h:33