19 #ifndef PAGESPEED_KERNEL_HTML_DISABLED_TEST_FILTER_H_
20 #define PAGESPEED_KERNEL_HTML_DISABLED_TEST_FILTER_H_
27 namespace net_instaweb {
34 is_enabled_(is_enabled),
35 disabled_reason_(disabled_reason) {}
42 *disabled_reason = disabled_reason_;
47 if (!disabled_reason_.empty()) {
48 StrAppend(&message,
": ", disabled_reason_);
53 virtual const char*
Name()
const {
return name_.c_str(); }
Definition: disable_test_filter.h:29
Definition: empty_html_filter.h:37
void set_is_enabled(bool is_enabled)
Definition: html_filter.h:131
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
bool is_enabled() const
Definition: html_filter.h:125
virtual void DetermineEnabled(GoogleString *disabled_reason)
Definition: disable_test_filter.h:37
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: disable_test_filter.h:53