Page Speed Optimization Libraries
1.13.35.1
|
#include "file_load_mapping.h"
Public Member Functions | |
FileLoadMappingLiteral (const GoogleString &url_prefix, const GoogleString &filename_prefix) | |
virtual bool | Substitute (StringPiece url, GoogleString *filename) const |
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 () |
A simple mapping from a prefix in url-space to a prefix in filesystem-space. For example, if we had: FileLoadMappingLiteral("http://example.com/foo/bar/", "/foobar/") that would mean http://example.com/foo/bar/baz would be found on the filesystem at /foobar/baz.
|
virtual |
If this mapping applies to this url, put the mapped path into filename and return true. Otherwise return false.
Implements net_instaweb::FileLoadMapping.