summaryrefslogtreecommitdiff
path: root/chromium/PRESUBMIT_test_mocks.py
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-07-14 17:41:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-08-04 12:37:36 +0000
commit399c965b6064c440ddcf4015f5f8e9d131c7a0a6 (patch)
tree6b06b60ff365abef0e13b3503d593a0df48d20e8 /chromium/PRESUBMIT_test_mocks.py
parent7366110654eec46f21b6824f302356426f48cd74 (diff)
downloadqtwebengine-chromium-399c965b6064c440ddcf4015f5f8e9d131c7a0a6.tar.gz
BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1
Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/PRESUBMIT_test_mocks.py')
-rw-r--r--chromium/PRESUBMIT_test_mocks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/PRESUBMIT_test_mocks.py b/chromium/PRESUBMIT_test_mocks.py
index 373b52c6d3c..109b782c887 100644
--- a/chromium/PRESUBMIT_test_mocks.py
+++ b/chromium/PRESUBMIT_test_mocks.py
@@ -20,6 +20,7 @@ class MockInputApi(object):
self.json = json
self.re = re
self.os_path = os.path
+ self.platform = sys.platform
self.python_executable = sys.executable
self.subprocess = subprocess
self.files = []
@@ -139,3 +140,7 @@ class MockChange(object):
def LocalPaths(self):
return self._changed_files
+
+ def AffectedFiles(self, include_dirs=False, include_deletes=True,
+ file_filter=None):
+ return self._changed_files