19 #ifndef NET_INSTAWEB_HTTP_PUBLIC_WAIT_URL_ASYNC_FETCHER_H_
20 #define NET_INSTAWEB_HTTP_PUBLIC_WAIT_URL_ASYNC_FETCHER_H_
33 namespace net_instaweb {
41 : url_fetcher_(url_fetcher),
42 pass_through_mode_(
false),
66 bool CallCallbacksAndSwitchModesHelper(
bool new_mode);
69 std::set<GoogleString> do_not_delay_urls_;
70 std::vector<DelayedFetch*> delayed_fetches_;
71 bool pass_through_mode_;
void DoNotDelay(const GoogleString &url)
Makes the given URL be fetched immediately.
Abstract interface for implementing a mutex.
Definition: abstract_mutex.h:28
virtual void Fetch(const GoogleString &url, MessageHandler *handler, AsyncFetch *fetch)
Initiate fetches that will finish when CallCallbacks is called.
Definition: scoped_ptr.h:30
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: async_fetch.h:53
void CallCallbacks()
Call all callbacks from previously initiated fetches.
Definition: wait_url_async_fetcher.h:37
Definition: message_handler.h:39
Definition: url_async_fetcher.h:33
bool SetPassThroughMode(bool pass_through_mode)