Page Speed Optimization Libraries
1.2.24.1
|
#include "remove_comments_filter.h"
Public Member Functions | |
virtual bool | IsRetainedComment (const StringPiece &comment) const =0 |
Interface that allows policy injection into a RemoveCommentsFilter instance. We cannot use RewriteOptions directly here since RemoveCommentsFilter does not want to take on all of the RewriteOptions dependencies.
virtual bool net_instaweb::RemoveCommentsFilter::OptionsInterface::IsRetainedComment | ( | const StringPiece & | comment | ) | const [pure virtual] |
Return true if the given comment should not be removed from the HTML, false otherwise.
Implemented in net_instaweb::RemoveCommentsFilter::OptionsImpl.