| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import json | 5 import json |
| 6 import os | 6 import os |
| 7 import re | 7 import re |
| 8 import subprocess | 8 import subprocess |
| 9 import sys | 9 import sys |
| 10 | 10 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 This class can be used in presubmit unittests to mock the query of the | 134 This class can be used in presubmit unittests to mock the query of the |
| 135 current change. | 135 current change. |
| 136 """ | 136 """ |
| 137 | 137 |
| 138 def __init__(self, changed_files): | 138 def __init__(self, changed_files): |
| 139 self._changed_files = changed_files | 139 self._changed_files = changed_files |
| 140 | 140 |
| 141 def LocalPaths(self): | 141 def LocalPaths(self): |
| 142 return self._changed_files | 142 return self._changed_files |
| 143 |
| 144 def AffectedFiles(self, include_dirs=False, include_deletes=True, |
| 145 file_filter=None): |
| 146 return self._changed_files |
| OLD | NEW |