| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Top-level presubmit script for Chromium. | 5 """Top-level presubmit script for Chromium. |
| 6 | 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 8 for more details about the presubmit API built into depot_tools. | 8 for more details about the presubmit API built into depot_tools. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 ), | 178 ), |
| 179 ), | 179 ), |
| 180 ( | 180 ( |
| 181 'ScopedAllowIO', | 181 'ScopedAllowIO', |
| 182 ( | 182 ( |
| 183 'New code should not use ScopedAllowIO. Post a task to the blocking', | 183 'New code should not use ScopedAllowIO. Post a task to the blocking', |
| 184 'pool or the FILE thread instead.', | 184 'pool or the FILE thread instead.', |
| 185 ), | 185 ), |
| 186 True, | 186 True, |
| 187 ( | 187 ( |
| 188 r"^base[\\\/]memory[\\\/]shared_memory_posix\.cc$", |
| 188 r"^base[\\\/]process[\\\/]process_linux\.cc$", | 189 r"^base[\\\/]process[\\\/]process_linux\.cc$", |
| 189 r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", | 190 r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", |
| 190 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", | 191 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", |
| 191 r"^chrome[\\\/]browser[\\\/]lifetime[\\\/]application_lifetime\.cc$", | 192 r"^chrome[\\\/]browser[\\\/]lifetime[\\\/]application_lifetime\.cc$", |
| 192 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" | 193 r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" |
| 193 "customization_document_browsertest\.cc$", | 194 "customization_document_browsertest\.cc$", |
| 194 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", | 195 r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", |
| 195 r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + | 196 r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + |
| 196 r"test_info_extractor\.cc$", | 197 r"test_info_extractor\.cc$", |
| 197 r"^content[\\\/].*browser(|_)test[a-zA-Z_]*\.cc$", | 198 r"^content[\\\/].*browser(|_)test[a-zA-Z_]*\.cc$", |
| (...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2372 output_api, | 2373 output_api, |
| 2373 json_url='http://chromium-status.appspot.com/current?format=json')) | 2374 json_url='http://chromium-status.appspot.com/current?format=json')) |
| 2374 | 2375 |
| 2375 results.extend( | 2376 results.extend( |
| 2376 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2377 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
| 2377 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2378 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
| 2378 input_api, output_api)) | 2379 input_api, output_api)) |
| 2379 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2380 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
| 2380 input_api, output_api)) | 2381 input_api, output_api)) |
| 2381 return results | 2382 return results |
| OLD | NEW |