Page Speed Optimization Libraries  1.7.30.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::MeaningfulFlushEarlyInfoFinder Class Reference

#include "flush_early_info_finder_test_base.h"

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

List of all members.

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 ()

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 [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 from net_instaweb::FlushEarlyInfoFinder.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines