21 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_GOOGLE_FONT_CSS_INLINE_FILTER_H_
22 #define NET_INSTAWEB_REWRITER_PUBLIC_GOOGLE_FONT_CSS_INLINE_FILTER_H_
28 namespace net_instaweb {
40 static void InitStats(Statistics* statistics);
42 virtual const char* Name()
const {
return "InlineGoogleFontCss"; }
45 virtual ResourcePtr
CreateResource(
const char* url,
bool* is_authorized);
48 void ResetAndExplainReason(
const char* reason, ResourcePtr* resource);
49 void CheckIfFontServiceUrl(
const GoogleUrl& url,
bool* result);
GoogleFontCssInlineFilter(RewriteDriver *driver)
Note: this also registers our resource url claimant with the driver.
Definition: google_font_css_inline_filter.h:34
Definition: rewrite_driver.h:98
Inline small CSS files.
Definition: css_inline_filter.h:43
virtual ResourcePtr CreateResource(const char *url, bool *is_authorized)