|
static void | InitStats (Statistics *statistics) |
|
static StringPiece | GetCharsetForScript (const Resource *script, const StringPiece attribute_charset, const StringPiece enclosing_charset) |
|
static GoogleString | GetCharsetForStylesheet (const Resource *stylesheet, const StringPiece attribute_charset, const StringPiece enclosing_charset) |
|
static bool | ExtractMetaTagDetails (const HtmlElement &element, const ResponseHeaders *headers, GoogleString *content, GoogleString *mime_type, GoogleString *charset) |
|
virtual void net_instaweb::CssCombineFilter::DetermineEnabled |
( |
GoogleString * |
disabled_reason | ) |
|
|
virtual |
Override DetermineEnabled so that filters that use the DOM cohort of the property cache can enable writing of it in the RewriterDriver. Filters inheriting from RewriteDriver that use the DOM cohort should override UsePropertyCacheDomCohort to return true.
Reimplemented from net_instaweb::RewriteFilter.
virtual const UrlSegmentEncoder* net_instaweb::CssCombineFilter::encoder |
( |
| ) |
const |
|
inlinevirtual |
All RewriteFilters define how they encode URLs and other associated information needed for a rewrite into a URL. The default implementation handles a single URL with no extra data. The filter owns the encoder.
Reimplemented from net_instaweb::RewriteFilter.
virtual RewriteContext* net_instaweb::CssCombineFilter::MakeRewriteContext |
( |
| ) |
|
|
virtual |
Generates a RewriteContext appropriate for this filter. Default implementation returns NULL. This must be overridden by filters. This is used to implement Fetch.
Reimplemented from net_instaweb::RewriteFilter.
virtual void net_instaweb::CssCombineFilter::StartDocumentImpl |
( |
| ) |
|
|
virtual |
Overload these implementer methods: Intentionally left abstract so that implementers don't forget to change the name from Blah to BlahImpl.
Implements net_instaweb::CommonFilter.
const char net_instaweb::CssCombineFilter::kCssCombineOpportunities[] |
|
static |
Statistic names:
of CSS links which could ideally have been reduced (# CSS links on
original page - 1 for each page).
The documentation for this class was generated from the following file: