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 // We call running in unattended mode (for automated testing) "headless". | 9 // We call running in unattended mode (for automated testing) "headless". |
10 // 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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // 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. |
27 // 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 |
28 // dialog is displayed using the right orientation. | 28 // dialog is displayed using the right orientation. |
29 const char kRtlLocale[] = "RIGHT_TO_LEFT"; | 29 const char kRtlLocale[] = "RIGHT_TO_LEFT"; |
30 const char kLtrLocale[] = "LEFT_TO_RIGHT"; | 30 const char kLtrLocale[] = "LEFT_TO_RIGHT"; |
31 | 31 |
32 // Number of times to run a given startup_tests unit test. | 32 // Number of times to run a given startup_tests unit test. |
33 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; | 33 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; |
34 | 34 |
| 35 // The presence of this environment variable with a value of 1 implies that |
| 36 // setup.exe should run as a system installation regardless of what is on the |
| 37 // command line. |
| 38 // TODO(erikwright): Put this in chrome/installer/util/util_constants.cc when |
| 39 // http://crbug.com/174953 is fixed and widely deployed. |
| 40 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; |
| 41 |
35 } // namespace env_vars | 42 } // namespace env_vars |
OLD | NEW |