22 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_BEACON_CRITICAL_LINE_INFO_FINDER_H_
23 #define NET_INSTAWEB_REWRITER_PUBLIC_BEACON_CRITICAL_LINE_INFO_FINDER_H_
30 #include "pagespeed/kernel/base/string_util.h"
32 namespace net_instaweb {
61 static const char kBeaconCriticalLineInfoPropertyName[];
64 NonceGenerator* nonce_generator);
73 const StringSet& xpaths_set, StringPiece nonce,
83 static const int kDefaultSupportInterval = 10;
85 virtual int SupportInterval()
const {
return kDefaultSupportInterval; }
87 NonceGenerator* nonce_generator_;
Abstract interface for implementing a PropertyPage.
Definition: property_cache.h:291
Definition: property_cache.h:186
virtual void UpdateInDriver(RewriteDriver *driver)
Updates the critical line information in the driver.
Adds property-semantics to a raw cache API.
Definition: property_cache.h:180
virtual BeaconMetadata PrepareForBeaconInsertion(RewriteDriver *driver)
Definition: beacon_critical_line_info_finder.h:59
Definition: rewrite_driver.h:98
static void WriteXPathsToPropertyCacheFromBeacon(const StringSet &xpaths_set, StringPiece nonce, const PropertyCache *cache, const PropertyCache::Cohort *cohort, AbstractPropertyPage *page, MessageHandler *message_handler, Timer *timer)
Definition: critical_line_info_finder.h:37
const PropertyCache::Cohort * cohort() const
Returns the cohort in pcache which stores the critical line info.
Definition: critical_line_info_finder.h:45