Page Speed Optimization Libraries
1.7.30.2
|
Public Member Functions | |
MockPropertyPage (ThreadSystem *thread_system, PropertyCache *property_cache, const StringPiece &url, const StringPiece &options_signature_hash, const StringPiece &cache_key_suffix) | |
virtual bool | IsCacheValid (int64 write_timestamp_ms) const |
virtual void | Done (bool valid) |
Called as a result of PropertyCache::Read when the data is available. | |
bool | called () const |
bool | valid () const |
void | set_time_ms (int64 time_ms) |
virtual bool net_instaweb::MockPropertyPage::IsCacheValid | ( | int64 | write_timestamp_ms | ) | const [inline, virtual] |
Called immediatly after the underlying cache lookup is done, from PropertyCache::CacheInterfaceCallback::Done().
Reimplemented from net_instaweb::PropertyPage.