Page Speed Optimization Libraries
1.9.32.2
|
#include "flush_early_info_finder.h"
Public Member Functions | |
FlushEarlyInfoFinder (const PropertyCache::Cohort *cohort) | |
virtual bool | IsMeaningful (const RewriteDriver *driver) const |
virtual void | UpdateFlushEarlyInfoInDriver (RewriteDriver *driver) |
Gets the flush early info and update the RewriteDriver. | |
virtual void | ComputeFlushEarlyInfo (RewriteDriver *driver) |
Computes the flush early info. | |
virtual const char * | GetCharset (const RewriteDriver *driver) |
Static Public Attributes | |
static const char | kFlushEarlyRenderPropertyName [] |
Protected Member Functions | |
void | UpdateFlushEarlyInfoCacheEntry (RewriteDriver *driver, FlushEarlyRenderInfo *flush_early_render_info) |
Finds a subset of flush early information which may be used by FlushEarlyFlow. This includes information like privately cacheable resources, charset.
|
virtual |
Gets the charset of the html document. Users of this function should also check IsMeaningful() to see if the implementation of this function returns meaningful results and provide a default behavior if it does not.
|
inlinevirtual |
Checks whether GetCharset will return meaningful result. The default implementation does not, but classes inheriting likely do. Users of GetCharset should check this function and supply a default behavior if IsMeaningful returns false.
Reimplemented in net_instaweb::MeaningfulFlushEarlyInfoFinder.