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