Page Speed Optimization Libraries  1.9.32.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
net_instaweb::CriticalLineInfoFinder Class Reference

#include "critical_line_info_finder.h"

Inheritance diagram for net_instaweb::CriticalLineInfoFinder:
net_instaweb::BeaconCriticalLineInfoFinder

Public Member Functions

 CriticalLineInfoFinder (const PropertyCache::Cohort *cohort)
 
const PropertyCache::Cohortcohort () const
 Returns the cohort in pcache which stores the critical line info.
 
virtual const CriticalLineInfo * GetCriticalLine (RewriteDriver *driver)
 Populates the critical line information in the driver and return it.
 
virtual BeaconMetadata PrepareForBeaconInsertion (RewriteDriver *driver)
 

Static Public Attributes

static const char kCriticalLineInfoPropertyName []
 

Protected Member Functions

virtual void UpdateInDriver (RewriteDriver *driver)
 Updates the critical line information in the driver.
 

Detailed Description

The instantiated CriticalLineInfoFinder is held by ServerContext, meaning there is only 1 per server. The RewriteDriver's critical_line_info is the actual information.

Member Function Documentation

virtual BeaconMetadata net_instaweb::CriticalLineInfoFinder::PrepareForBeaconInsertion ( RewriteDriver driver)
inlinevirtual

Check property cache state and prepare to insert beacon. Returns the metadata with result.status == kDoNotBeacon if no beaconing should occur, and result.nonce contains the nonce if required (default implementation always beacons without a nonce).

Reimplemented in net_instaweb::BeaconCriticalLineInfoFinder.


The documentation for this class was generated from the following file: