Page Speed Optimization Libraries  1.5.27.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::FileLoadMapping Class Reference

#include "file_load_mapping.h"

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

List of all members.

Public Member Functions

virtual bool Substitute (const StringPiece &url, GoogleString *filename) const =0

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 ( const 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::FileLoadMappingLiteral, and net_instaweb::FileLoadMappingRegexp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines