15 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_DOWNSTREAM_CACHING_DIRECTIVES_H_
16 #define NET_INSTAWEB_REWRITER_PUBLIC_DOWNSTREAM_CACHING_DIRECTIVES_H_
22 namespace net_instaweb {
48 bool SupportsLazyloadImages()
const;
52 bool SupportsWebp()
const;
53 bool SupportsWebpLosslessAlpha()
const;
54 bool SupportsWebpAnimated()
const;
71 static bool IsPropertySupported(
LazyBool* supports_property,
75 mutable LazyBool supports_image_inlining_;
77 mutable LazyBool supports_lazyload_images_;
79 mutable LazyBool supports_webp_lossless_alpha_;
80 mutable LazyBool supports_webp_animated_;
bool SupportsJsDefer() const
bool SupportsImageInlining() const
Definition: downstream_caching_directives.h:31
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
LazyBool
Lazily-initialized boolean value.
Definition: basictypes.h:68
void ParseCapabilityListFromRequestHeaders(const RequestHeaders &request_headers)
static const char kNoCapabilitiesSpecified[]
Definition: downstream_caching_directives.h:35