Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: chrome/common/env_vars.cc

Issue 1127163004: Delete unused code in chrome/common or mark them as platform specific. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 15 matching lines...) Expand all
26 // that are needed to show the dialog. 26 // that are needed to show the dialog.
27 const char kShowRestart[] = "CHROME_CRASHED"; 27 const char kShowRestart[] = "CHROME_CRASHED";
28 const char kRestartInfo[] = "CHROME_RESTART"; 28 const char kRestartInfo[] = "CHROME_RESTART";
29 29
30 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. 30 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction.
31 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the 31 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the
32 // dialog is displayed using the right orientation. 32 // dialog is displayed using the right orientation.
33 const char kRtlLocale[] = "RIGHT_TO_LEFT"; 33 const char kRtlLocale[] = "RIGHT_TO_LEFT";
34 const char kLtrLocale[] = "LEFT_TO_RIGHT"; 34 const char kLtrLocale[] = "LEFT_TO_RIGHT";
35 35
36 // Number of times to run a given startup_tests unit test.
37 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES";
38
39 // The presence of this environment variable with a value of 1 implies that
40 // setup.exe should run as a system installation regardless of what is on the
41 // command line.
42 // TODO(erikwright): Put this in chrome/installer/util/util_constants.cc when
43 // http://crbug.com/174953 is fixed and widely deployed.
44 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine";
45
46 } // namespace env_vars 36 } // namespace env_vars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698