Page Speed Optimization Libraries
1.13.35.1
|
#include "css_url_extractor.h"
Public Member Functions | |
void | ExtractUrl (const StringPiece &in_text, StringVector *urls) |
virtual TransformStatus | Transform (GoogleString *str) |
Additional Inherited Members | |
Public Types inherited from net_instaweb::CssTagScanner::Transformer | |
enum | TransformStatus { kSuccess, kNoChange, kFailure } |
Transformer that collects the URLs in the input and adds them to a Stringvector.
|
virtual |
Transforms str in-place. If kSuccess -> transformation succeeded and str may have changed (Generally implementers should only return kSuccess if str changed, but this is merely an optimization. Functionally it doesn't matter). If kNoChange -> transformation succeeded and str was unchanged. If kFailure -> transformation failed. str is undefined, do not use.
Implements net_instaweb::CssTagScanner::Transformer.