Looking into all changed files to find actions.xml.
In case actions.xml is included in the changelist the chrome/browser/resources/PRESUBMIT.py shouldn't run because the presubmit for actions.xml will do more complete job.
Fixing the bug to look into all changed files in the CL where previously it was only looking at subdirectories of current presubmit script to find actions.xml
BUG=439978
Review URL: https://codereview.chromium.org/760163004
Cr-Commit-Position: refs/heads/master@{#308244}
diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py
index f99671da..7d286b9d 100644
--- a/PRESUBMIT_test_mocks.py
+++ b/PRESUBMIT_test_mocks.py
@@ -24,6 +24,7 @@
self.subprocess = subprocess
self.files = []
self.is_committing = False
+ self.change = MockChange([])
def AffectedFiles(self, file_filter=None):
return self.files