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

Unified Diff: chrome/common/env_vars.cc

Issue 12223044: Don't accidentally propagate Omaha variable to child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a silly mistake. Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/env_vars.h ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/env_vars.cc
diff --git a/chrome/common/env_vars.cc b/chrome/common/env_vars.cc
index 06e10f8d59fd755524e10901bbb900c38025f480..063d15b4cbd189b8ea94bafd80a4625141b4804b 100644
--- a/chrome/common/env_vars.cc
+++ b/chrome/common/env_vars.cc
@@ -32,4 +32,11 @@ const char kLtrLocale[] = "LEFT_TO_RIGHT";
// Number of times to run a given startup_tests unit test.
const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES";
+// The presence of this environment variable with a value of 1 implies that
+// setup.exe should run as a system installation regardless of what is on the
+// command line.
+// TODO(erikwright): Put this in chrome/installer/util/util_constants.cc when
+// http://crbug.com/174953 is fixed and widely deployed.
+const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine";
+
} // namespace env_vars
« no previous file with comments | « chrome/common/env_vars.h ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698