Page Speed Optimization Libraries
1.7.30.1
|
#include "file_load_mapping.h"
Public Member Functions | |
virtual bool | Substitute (const StringPiece &url, GoogleString *filename) const =0 |
Class for storing a mapping from a URL to a filesystem path, for use by FileLoadPolicy.
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.