Page Speed Optimization Libraries  1.12.34.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::FileLoadMapping Class Referenceabstract

#include "file_load_mapping.h"

Inheritance diagram for net_instaweb::FileLoadMapping:
net_instaweb::ManuallyRefCounted net_instaweb::FileLoadMappingLiteral net_instaweb::FileLoadMappingRegexp

Public Member Functions

virtual bool Substitute (StringPiece url, GoogleString *filename) const =0
 
- Public Member Functions inherited from net_instaweb::ManuallyRefCounted
void IncrementRefs ()
 
void DecrementRefs ()
 

Additional Inherited Members

- Protected Member Functions inherited from net_instaweb::ManuallyRefCounted
virtual ~ManuallyRefCounted ()
 

Detailed Description

Class for storing a mapping from a URL to a filesystem path, for use by FileLoadPolicy.

Member Function Documentation

virtual bool net_instaweb::FileLoadMapping::Substitute ( StringPiece  url,
GoogleString filename 
) const
pure virtual

If this mapping applies to this url, put the mapped path into filename and return true. Otherwise return false.

Implemented in net_instaweb::FileLoadMappingRegexp, and net_instaweb::FileLoadMappingLiteral.


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