Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 """Includes all the constants of module names, queue names, url paths, etc.""" | 5 """Includes all the constants of module names, queue names, url paths, etc.""" |
| 6 | 6 |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 | 9 |
| 10 # Names of all modules. | 10 # Names of all modules. |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 | 22 |
| 23 # Waterfall-related. | 23 # Waterfall-related. |
| 24 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' | 24 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' |
| 25 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' | 25 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' |
| 26 COMPILE_STEP_NAME = 'compile' | 26 COMPILE_STEP_NAME = 'compile' |
| 27 | 27 |
| 28 | 28 |
| 29 # Directory of html templates. | 29 # Directory of html templates. |
| 30 HTML_TEMPLATE_DIR = os.path.realpath( | 30 HTML_TEMPLATE_DIR = os.path.realpath( |
| 31 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) | 31 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) |
| 32 | |
| 33 | |
| 34 # Used in line distance and priority for crashes. | |
| 35 INFINITY = 1000 | |
|
Martin Barbella
2016/05/05 18:33:41
This feels a bit hacky.
Sharu Jiang
2016/05/10 03:11:02
I am not sure what's the better way, since move th
| |
| OLD | NEW |