| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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[\\\/]process[\\\/]process_linux\.cc$", | 188         r"^base[\\\/]process[\\\/]process_linux\.cc$", | 
| 189         r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", | 189         r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", | 
| 190         r"^blimp[\\\/]engine[\\\/]app[\\\/]blimp_browser_main_parts\.cc$", |  | 
| 191         r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", | 190         r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$", | 
| 192         r"^chrome[\\\/]browser[\\\/]lifetime[\\\/]application_lifetime\.cc$", | 191         r"^chrome[\\\/]browser[\\\/]lifetime[\\\/]application_lifetime\.cc$", | 
| 193         r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" | 192         r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]" | 
| 194             "customization_document_browsertest\.cc$", | 193             "customization_document_browsertest\.cc$", | 
| 195         r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", | 194         r"^components[\\\/]crash[\\\/]app[\\\/]breakpad_mac\.mm$", | 
| 196         r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + | 195         r"^content[\\\/]shell[\\\/]browser[\\\/]layout_test[\\\/]" + | 
| 197             r"test_info_extractor\.cc$", | 196             r"test_info_extractor\.cc$", | 
| 198         r"^content[\\\/].*browser(|_)test[a-zA-Z_]*\.cc$", | 197         r"^content[\\\/].*browser(|_)test[a-zA-Z_]*\.cc$", | 
| 199         r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", | 198         r"^content[\\\/]shell[\\\/]browser[\\\/]shell_browser_main\.cc$", | 
| 200         r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", | 199         r"^content[\\\/]shell[\\\/]browser[\\\/]shell_message_filter\.cc$", | 
| (...skipping 2160 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2361   results.extend(input_api.canned_checks.CheckTreeIsOpen( | 2360   results.extend(input_api.canned_checks.CheckTreeIsOpen( | 
| 2362       input_api, | 2361       input_api, | 
| 2363       output_api, | 2362       output_api, | 
| 2364       json_url='http://chromium-status.appspot.com/current?format=json')) | 2363       json_url='http://chromium-status.appspot.com/current?format=json')) | 
| 2365 | 2364 | 
| 2366   results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2365   results.extend(input_api.canned_checks.CheckChangeHasBugField( | 
| 2367       input_api, output_api)) | 2366       input_api, output_api)) | 
| 2368   results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2367   results.extend(input_api.canned_checks.CheckChangeHasDescription( | 
| 2369       input_api, output_api)) | 2368       input_api, output_api)) | 
| 2370   return results | 2369   return results | 
| OLD | NEW | 
|---|