19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_REWRITE_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_REWRITE_FILTER_H_
33 namespace net_instaweb {
42 virtual const char* id()
const = 0;
84 ResourceContext* context)
const {}
99 const StringPiece attribute_charset,
100 const StringPiece enclosing_charset);
116 const StringPiece attribute_charset,
117 const StringPiece enclosing_charset);
152 virtual bool UsesPropertyCacheDomCohort()
const {
return false; }
Definition: common_filter.h:47
virtual const UrlSegmentEncoder * encoder() const
virtual const StringPieceVector * RelatedOptions() const
Definition: rewrite_filter.h:139
virtual void DetermineEnabled(GoogleString *disabled_reason)
static StringPiece GetCharsetForScript(const Resource *script, const StringPiece attribute_charset, const StringPiece enclosing_charset)
Definition: resource.h:57
Definition: ref_counted_ptr.h:69
virtual bool CanModifyUrls()
Definition: rewrite_filter.h:53
static GoogleString GetCharsetForStylesheet(const Resource *stylesheet, const StringPiece attribute_charset, const StringPiece enclosing_charset)
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual void EncodeUserAgentIntoResourceContext(ResourceContext *context) const
Definition: rewrite_filter.h:83
Definition: rewrite_filter.h:35
virtual bool ComputeOnTheFly() const
Filter
Definition: rewrite_options.h:106
Definition: rewrite_driver.h:100
virtual const char * LoggingId()
This class logs using id().
Definition: rewrite_filter.h:145
Definition: rewrite_context.h:155
Definition: url_segment_encoder.h:33
virtual const RewriteOptions::Filter * RelatedFilters(int *num_filters) const
virtual RewriteContext * MakeRewriteContext()
virtual RewriteContext * MakeNestedRewriteContext(RewriteContext *parent, const ResourceSlotPtr &slot)