Chromium Code Reviews| Index: PRESUBMIT.py |
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
| index 4e1edcc620898423aa36c5f0e184342d5cc9be5a..9ffcd84fc39b56762de0aeeed1caa9d71dfc144c 100644 |
| --- a/PRESUBMIT.py |
| +++ b/PRESUBMIT.py |
| @@ -1540,7 +1540,13 @@ def _CheckSingletonInHeaders(input_api, output_api): |
| def _CheckBaseMacrosInHeaders(input_api, output_api): |
| """Check for base/macros.h if DISALLOW_* macro is used.""" |
| - disallows = ('DISALLOW_ASSIGN', 'DISALLOW_COPY', 'DISALLOW_EVIL') |
| + disallows = ( |
| + 'DISALLOW_ASSIGN(', |
| + 'DISALLOW_COPY(', |
| + 'DISALLOW_COPY_AND_ASSIGN(', |
| + 'DISALLOW_EVIL_CONSTRUCTORS(', |
|
Nico
2015/12/04 21:42:56
fwiw i removed DISALLOW_EVIL_CTORS from macros.h e
Dan Beam
2015/12/04 22:53:02
look down, look back
THE PRESUBMIT IS NOW GONE
h
|
| + 'DISALLOW_IMPLICIT_CONSTRUCTORS(', |
| + ) |
| macros = '#include "base/macros.h"' |
| basictypes = '#include "base/basictypes.h"' |