19 #ifndef NET_INSTAWEB_HTTP_PUBLIC_HTTP_DUMP_URL_ASYNC_WRITER_H_
20 #define NET_INSTAWEB_HTTP_PUBLIC_HTTP_DUMP_URL_ASYNC_WRITER_H_
28 namespace net_instaweb {
45 : dump_fetcher_(root_dir, file_system, timer),
46 base_fetcher_(base_fetcher),
47 file_system_(file_system),
49 root_dir.CopyToString(&root_dir_);
Definition: http_dump_url_fetcher.h:45
void set_print_urls(bool on)
Print URLs each time they are fetched.
Definition: http_dump_url_async_writer.h:66
virtual bool SupportsHttps() const
Definition: http_dump_url_async_writer.h:53
virtual void Fetch(const GoogleString &url, MessageHandler *handler, AsyncFetch *base_fetch)
This is a synchronous/blocking implementation.
void set_print_urls(bool on)
Print URLs each time they are fetched.
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: http_dump_url_async_writer.h:39
Definition: async_fetch.h:53
Definition: file_system.h:76
void set_accept_gzip(bool x)
Definition: http_dump_url_async_writer.h:63
Definition: message_handler.h:39
virtual bool SupportsHttps() const
Definition: url_async_fetcher.h:54
Timer interface, made virtual so it can be mocked for tests.
Definition: timer.h:27
Definition: url_async_fetcher.h:33