Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::RemoveCommentsFilter::OptionsInterface Class Referenceabstract

#include "remove_comments_filter.h"

Public Member Functions

virtual bool IsRetainedComment (const StringPiece &comment) const =0
 

Detailed Description

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. If you want a simple data-structure based implementation, there is a sample one in the unit test.

Member Function Documentation

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.


The documentation for this class was generated from the following file: