19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_IFRAME_FETCHER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_IFRAME_FETCHER_H_
24 #include "pagespeed/kernel/base/string.h"
25 #include "pagespeed/kernel/http/user_agent_matcher.h"
27 namespace net_instaweb {
43 virtual void Fetch(
const GoogleString& url,
44 MessageHandler* message_handler,
48 bool SupportedDevice(
const char* user_agent)
const;
49 void RespondWithIframe(
const GoogleString& escaped_url,
51 MessageHandler* message_handler);
52 void RespondWithRedirect(
const GoogleString& url,
53 const GoogleString& escaped_url,
55 MessageHandler* message_handler);
56 void RespondWithError(
const GoogleString& escaped_url,
58 MessageHandler* message_handler);
61 const UserAgentMatcher* user_agent_matcher_;
Definition: iframe_fetcher.h:34
static const char kIframeId[]
Id of iframe element inserted by fetcher.
Definition: iframe_fetcher.h:37
virtual void Fetch(const GoogleString &url, MessageHandler *message_handler, AsyncFetch *fetch)
Definition: async_fetch.h:53
Definition: rewrite_options.h:84
Definition: url_async_fetcher.h:33