Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::CssUrlExtractor Class Reference

#include "css_url_extractor.h"

Inheritance diagram for net_instaweb::CssUrlExtractor:
net_instaweb::CssTagScanner::Transformer

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 }
 

Detailed Description

Transformer that collects the URLs in the input and adds them to a Stringvector.

Member Function Documentation

virtual TransformStatus net_instaweb::CssUrlExtractor::Transform ( GoogleString str)
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.


The documentation for this class was generated from the following file: