22 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_CRITICAL_LINE_INFO_FINDER_H_
23 #define NET_INSTAWEB_REWRITER_PUBLIC_CRITICAL_LINE_INFO_FINDER_H_
26 #include "net/instaweb/util/public/property_cache.h"
27 #include "pagespeed/kernel/base/basictypes.h"
29 namespace net_instaweb {
31 class CriticalLineInfo;
39 static const char kCriticalLineInfoPropertyName[];
45 const PropertyCache::Cohort*
cohort()
const {
return cohort_; }
56 result.status = kBeaconNoNonce;
65 virtual int SupportInterval()
const {
return 1; }
67 const PropertyCache::Cohort* cohort_;
69 DISALLOW_COPY_AND_ASSIGN(CriticalLineInfoFinder);
virtual void UpdateInDriver(RewriteDriver *driver)
Updates the critical line information in the driver.
virtual BeaconMetadata PrepareForBeaconInsertion(RewriteDriver *driver)
Definition: critical_line_info_finder.h:54
virtual const CriticalLineInfo * GetCriticalLine(RewriteDriver *driver)
Populates the critical line information in the driver and return it.
Definition: rewrite_driver.h:98
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