Page Speed Optimization Libraries
1.9.32.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 () |
![]() | |
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 const char | kFlushEarlyRenderPropertyName [] |
![]() | |
void | UpdateFlushEarlyInfoCacheEntry (RewriteDriver *driver, FlushEarlyRenderInfo *flush_early_render_info) |
By default, FlushEarlyInfoFinder does not return meaningful results. This class can be used by tests which manually manage FlushEarlyRenderInfo.
|
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.