Page Speed Optimization Libraries  1.11.33.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends 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::FileLoadMappingLiteral net_instaweb::FileLoadMappingRegexp

Public Member Functions

virtual bool Substitute (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 ( 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: