Index: components/subresource_filter/core/common/PRESUBMIT.py |
diff --git a/components/subresource_filter/core/common/PRESUBMIT.py b/components/subresource_filter/core/common/PRESUBMIT.py |
index bb1e72ce5202b2f4b8943245185b09805f703e8b..7e054081adb2a8b124a4243d6170fbd9fe9dadc7 100644 |
--- a/components/subresource_filter/core/common/PRESUBMIT.py |
+++ b/components/subresource_filter/core/common/PRESUBMIT.py |
@@ -26,7 +26,8 @@ def CheckIndexedRulesetVersion(input_api, output_api): |
continue |
basename = input_api.basename(path) |
- if basename.endswith('.fbs') or basename == 'indexed_ruleset.cc': |
+ if (basename == 'indexed_ruleset.cc' or basename == 'url_pattern_index.cc' |
+ or basename.endswith('.fbs')): |
indexed_ruleset_changed = True |
if basename == 'indexed_ruleset.cc': |
for (_, line) in affected_file.ChangedContents(): |