Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
net_instaweb::FileLoadRule Class Referenceabstract

#include "file_load_rule.h"

Inheritance diagram for net_instaweb::FileLoadRule:
net_instaweb::ManuallyRefCounted net_instaweb::FileLoadRuleLiteral net_instaweb::FileLoadRuleRegexp

Public Types

enum  Classification { kAllowed, kDisallowed, kUnmatched }
 

Public Member Functions

 FileLoadRule (bool allowed)
 
Classification Classify (const GoogleString &filename) const
 What does this rule say about this filename?
 
- Public Member Functions inherited from net_instaweb::ManuallyRefCounted
void IncrementRefs ()
 
void DecrementRefs ()
 

Protected Member Functions

virtual bool Match (const GoogleString &filename) const =0
 Is does this rule apply to this filename?
 
- Protected Member Functions inherited from net_instaweb::ManuallyRefCounted
virtual ~ManuallyRefCounted ()
 

Protected Attributes

const bool allowed_
 

Detailed Description

Class for storing information about what filesystem paths are appropriate for direct access and which need to be fetched through HTTP loopback.


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