Index: tools/clang/plugins/ChromeClassTester.h |
diff --git a/tools/clang/plugins/ChromeClassTester.h b/tools/clang/plugins/ChromeClassTester.h |
index 541341de5391d17a26db0f147c285df481c84fe5..f69a2ffe3f46bd3b92f120ae6b0f9ec77e4a0a98 100644 |
--- a/tools/clang/plugins/ChromeClassTester.h |
+++ b/tools/clang/plugins/ChromeClassTester.h |
@@ -55,6 +55,12 @@ class ChromeClassTester : public clang::ASTConsumer { |
virtual void CheckChromeClass(clang::SourceLocation record_location, |
clang::CXXRecordDecl* record) = 0; |
+ // Filtered versions of enum type that are only called with things defined |
+ // in chrome header files. |
+ virtual void CheckChromeEnum(clang::SourceLocation enum_location, |
+ clang::EnumDecl* enum_decl) { |
+ } |
+ |
// Utility methods used for filtering out non-chrome classes (and ones we |
// deliberately ignore) in HandleTagDeclDefinition(). |
std::string GetNamespaceImpl(const clang::DeclContext* context, |