Chromium Code Reviews| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 311 ), | 311 ), |
| 312 ), | 312 ), |
| 313 ( | 313 ( |
| 314 '#pragma comment(lib,', | 314 '#pragma comment(lib,', |
| 315 ( | 315 ( |
| 316 'Specify libraries to link with in build files and not in the source.', | 316 'Specify libraries to link with in build files and not in the source.', |
| 317 ), | 317 ), |
| 318 True, | 318 True, |
| 319 (), | 319 (), |
| 320 ), | 320 ), |
| 321 ( | |
| 322 'BrowserThread::GetBlockingPool', | |
| 323 ( | |
| 324 'Use base/task_scheduler/post_task.h instead of the blocking pool.', | |
| 325 ), | |
| 326 True, | |
|
gab
2017/04/28 01:58:24
Does True here mean "block CQ" or "warning only"?
fdoray
2017/05/01 17:39:03
Discussed offline.
If a components already has co
| |
| 327 (), | |
| 328 ), | |
| 321 ) | 329 ) |
| 322 | 330 |
| 323 | 331 |
| 324 _IPC_ENUM_TRAITS_DEPRECATED = ( | 332 _IPC_ENUM_TRAITS_DEPRECATED = ( |
| 325 'You are using IPC_ENUM_TRAITS() in your code. It has been deprecated.\n' | 333 'You are using IPC_ENUM_TRAITS() in your code. It has been deprecated.\n' |
| 326 'See http://www.chromium.org/Home/chromium-security/education/security-tips- for-ipc') | 334 'See http://www.chromium.org/Home/chromium-security/education/security-tips- for-ipc') |
| 327 | 335 |
| 328 | 336 |
| 329 _VALID_OS_MACROS = ( | 337 _VALID_OS_MACROS = ( |
| 330 # Please keep sorted. | 338 # Please keep sorted. |
| (...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2450 output_api, | 2458 output_api, |
| 2451 json_url='http://chromium-status.appspot.com/current?format=json')) | 2459 json_url='http://chromium-status.appspot.com/current?format=json')) |
| 2452 | 2460 |
| 2453 results.extend( | 2461 results.extend( |
| 2454 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) | 2462 input_api.canned_checks.CheckPatchFormatted(input_api, output_api)) |
| 2455 results.extend(input_api.canned_checks.CheckChangeHasBugField( | 2463 results.extend(input_api.canned_checks.CheckChangeHasBugField( |
| 2456 input_api, output_api)) | 2464 input_api, output_api)) |
| 2457 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 2465 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
| 2458 input_api, output_api)) | 2466 input_api, output_api)) |
| 2459 return results | 2467 return results |
| OLD | NEW |