Page Speed Optimization Libraries
1.8.31.2
|
#include "flush_early_info_finder_test_base.h"
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 () |
By default, FlushEarlyInfoFinder does not return meaningful results. This class can be used by tests which manually manage FlushEarlyRenderInfo.
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.