Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes | Protected Member Functions
net_instaweb::FlushEarlyInfoFinder Class Reference

#include "flush_early_info_finder.h"

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

List of all members.

Public Member Functions

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)
virtual const char * GetCohort () const =0

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 [inline, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines