20 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_ADD_IDS_FILTER_H_
21 #define NET_INSTAWEB_REWRITER_PUBLIC_ADD_IDS_FILTER_H_
30 namespace net_instaweb {
44 static const char kIdPrefix[];
52 virtual const char*
Name()
const {
return "AddIdsFilter"; }
64 static const int kIsId;
65 std::vector<int> div_count_stack_;
66 std::vector<const HtmlElement::Attribute*> id_stack_;
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: add_ids_filter.h:52
Definition: empty_html_filter.h:37
Definition: html_element.h:42
Definition: add_ids_filter.h:42
virtual void StartDocument()
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual void StartElement(HtmlElement *element)
Definition: rewrite_driver.h:100