Index: tools/gn/header_checker.cc |
diff --git a/tools/gn/header_checker.cc b/tools/gn/header_checker.cc |
index d05524381a5e583fd663c303aff4d62d76df6f39..1141e6efd6ac73eca9e90383bc53eb38229b12d0 100644 |
--- a/tools/gn/header_checker.cc |
+++ b/tools/gn/header_checker.cc |
@@ -158,7 +158,7 @@ void HeaderChecker::RunCheckOverFiles(const FileMap& files, bool force_check) { |
for (const auto& file : files) { |
// Only check C-like source files (RC files also have includes). |
SourceFileType type = GetSourceFileType(file.first); |
- if (type != SOURCE_CC && type != SOURCE_H && type != SOURCE_C && |
+ if (type != SOURCE_CPP && type != SOURCE_H && type != SOURCE_C && |
type != SOURCE_M && type != SOURCE_MM && type != SOURCE_RC) |
continue; |