Page Speed Optimization Libraries  1.9.32.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::MeaningfulFlushEarlyInfoFinder Class Reference

#include "flush_early_info_finder_test_base.h"

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

Public Member Functions

virtual bool IsMeaningful (const RewriteDriver *driver) const
 
virtual int64 cache_expiration_time_ms () const
 
virtual void ComputeFlushEarlyInfo (RewriteDriver *driver)
 Computes the flush early info.
 
int num_compute_calls ()
 
void Clear ()
 
- Public Member Functions inherited from net_instaweb::FlushEarlyInfoFinder
 FlushEarlyInfoFinder (const PropertyCache::Cohort *cohort)
 
virtual void UpdateFlushEarlyInfoInDriver (RewriteDriver *driver)
 Gets the flush early info and update the RewriteDriver.
 
virtual const char * GetCharset (const RewriteDriver *driver)
 

Additional Inherited Members

- Static Public Attributes inherited from net_instaweb::FlushEarlyInfoFinder
static const char kFlushEarlyRenderPropertyName []
 
- Protected Member Functions inherited from net_instaweb::FlushEarlyInfoFinder
void UpdateFlushEarlyInfoCacheEntry (RewriteDriver *driver, FlushEarlyRenderInfo *flush_early_render_info)
 

Detailed Description

By default, FlushEarlyInfoFinder does not return meaningful results. This class can be used by tests which manually manage FlushEarlyRenderInfo.

Member Function Documentation

virtual bool net_instaweb::MeaningfulFlushEarlyInfoFinder::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 from net_instaweb::FlushEarlyInfoFinder.


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