Page Speed Optimization Libraries
1.13.35.1
|
Simple test filter just trims whitespace from the input resource. More...
#include "rewrite_context_test_base.h"
Public Member Functions | |
TrimWhitespaceRewriter (OutputResourceKind kind) | |
int | num_rewrites () const |
Stats. | |
void | ClearStats () |
Public Member Functions inherited from net_instaweb::SimpleTextFilter::Rewriter | |
virtual bool | OptimizationOnly () const |
See RewriteContext::OptimizationOnly() | |
Public Member Functions inherited from net_instaweb::RefCounted< Rewriter > | |
void | Release () |
void | AddRef () |
bool | HasOneRef () |
Static Public Attributes | |
static const char | kFilterId [] |
Protected Member Functions | |
REFCOUNT_FRIEND_DECLARATION (TrimWhitespaceRewriter) | |
virtual bool | RewriteText (const StringPiece &url, const StringPiece &in, GoogleString *out, ServerContext *server_context) |
virtual HtmlElement::Attribute * | FindResourceAttribute (HtmlElement *element) |
virtual OutputResourceKind | kind () const |
virtual const char * | id () const |
virtual const char * | name () const |
Protected Member Functions inherited from net_instaweb::SimpleTextFilter::Rewriter | |
REFCOUNT_FRIEND_DECLARATION (Rewriter) | |
Simple test filter just trims whitespace from the input resource.