19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_URL_LEFT_TRIM_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_URL_LEFT_TRIM_FILTER_H_
28 namespace net_instaweb {
54 virtual void StartElementImpl(
HtmlElement* element);
55 virtual void EndElementImpl(
HtmlElement* element) {}
57 virtual const char*
Name()
const {
return "UrlLeftTrim"; }
71 friend class UrlLeftTrimFilterTest;
class GoogleUrl
Definition: google_url.h:58
Definition: common_filter.h:47
Definition: html_element.h:66
Definition: statistics.h:43
Base class for implementations of monitoring statistics.
Definition: statistics.h:342
static bool Trim(const GoogleUrl &base_url, const StringPiece &url_to_trim, GoogleString *trimmed_url, MessageHandler *handler)
Definition: url_left_trim_filter.h:47
Definition: html_element.h:42
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: url_left_trim_filter.h:57
Definition: rewrite_driver.h:100
Definition: message_handler.h:39
const GoogleUrl & base_url() const
Getters.
virtual void StartDocumentImpl()
Definition: url_left_trim_filter.h:53