Page Speed Optimization Libraries  1.9.32.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
net_instaweb::FlushEarlyInfoFinder Class Reference

#include "flush_early_info_finder.h"

Inheritance diagram for net_instaweb::FlushEarlyInfoFinder:
net_instaweb::MeaningfulFlushEarlyInfoFinder

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)
 

Detailed Description

Finds a subset of flush early information which may be used by FlushEarlyFlow. This includes information like privately cacheable resources, charset.

Member Function Documentation

virtual const char* net_instaweb::FlushEarlyInfoFinder::GetCharset ( const RewriteDriver driver)
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.

virtual bool net_instaweb::FlushEarlyInfoFinder::IsMeaningful ( const RewriteDriver driver) const
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.


The documentation for this class was generated from the following file: