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 #include "chrome/common/env_vars.h" | 5 #include "chrome/common/env_vars.h" |
6 | 6 |
7 namespace env_vars { | 7 namespace env_vars { |
8 | 8 |
9 // Enable Breakpad crash reporting. This is used for automated | |
10 // testing of Breakpad in Chromium builds where Breakpad is compiled | |
11 // in by default but not usually enabled. | |
12 const char kEnableBreakpad[] = "CHROME_ENABLE_BREAKPAD"; | |
13 | |
14 // We call running in unattended mode (for automated testing) "headless". | 9 // We call running in unattended mode (for automated testing) "headless". |
15 // This mode can be enabled using this variable or by the kNoErrorDialogs | 10 // This mode can be enabled using this variable or by the kNoErrorDialogs |
16 // switch. | 11 // switch. |
17 const char kHeadless[] = "CHROME_HEADLESS"; | 12 const char kHeadless[] = "CHROME_HEADLESS"; |
18 | 13 |
19 // The name of the log file. | 14 // The name of the log file. |
20 const char kLogFileName[] = "CHROME_LOG_FILE"; | 15 const char kLogFileName[] = "CHROME_LOG_FILE"; |
21 | 16 |
22 // The name of the session log directory when logged in to ChromeOS. | 17 // The name of the session log directory when logged in to ChromeOS. |
23 const char kSessionLogDir[] = "CHROMEOS_SESSION_LOG_DIR"; | 18 const char kSessionLogDir[] = "CHROMEOS_SESSION_LOG_DIR"; |
24 | 19 |
25 // CHROME_CRASHED exists if a previous instance of chrome has crashed. This | 20 // CHROME_CRASHED exists if a previous instance of chrome has crashed. This |
26 // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings | 21 // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings |
27 // that are needed to show the dialog. | 22 // that are needed to show the dialog. |
28 const char kShowRestart[] = "CHROME_CRASHED"; | 23 const char kShowRestart[] = "CHROME_CRASHED"; |
29 const char kRestartInfo[] = "CHROME_RESTART"; | 24 const char kRestartInfo[] = "CHROME_RESTART"; |
30 | 25 |
31 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. | 26 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. |
32 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the | 27 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the |
33 // dialog is displayed using the right orientation. | 28 // dialog is displayed using the right orientation. |
34 const char kRtlLocale[] = "RIGHT_TO_LEFT"; | 29 const char kRtlLocale[] = "RIGHT_TO_LEFT"; |
35 const char kLtrLocale[] = "LEFT_TO_RIGHT"; | 30 const char kLtrLocale[] = "LEFT_TO_RIGHT"; |
36 | 31 |
37 // Number of times to run a given startup_tests unit test. | 32 // Number of times to run a given startup_tests unit test. |
38 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; | 33 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; |
39 | 34 |
40 } // namespace env_vars | 35 } // namespace env_vars |
OLD | NEW |