summaryrefslogtreecommitdiffstats
path: root/chrome/common/env_vars.h
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-08 01:02:40 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-08 01:02:40 +0000
commite3824ece8d9ded9ca98a976d2d023cb5e7c297fc (patch)
tree3e20e470e74b3952edf348ba8a581d6a50d33cf4 /chrome/common/env_vars.h
parenteb8d7e135f48668d0fcaf319e55af9805c545baa (diff)
downloadchromium_src-e3824ece8d9ded9ca98a976d2d023cb5e7c297fc.zip
chromium_src-e3824ece8d9ded9ca98a976d2d023cb5e7c297fc.tar.gz
chromium_src-e3824ece8d9ded9ca98a976d2d023cb5e7c297fc.tar.bz2
Don't accidentally propagate Omaha variable to child processes.
Short term fix to issue 174203 (when Chrome is launched by Omaha post-install, it fails when attempting to install the App Launcher). Should be reverted when issue 174953 is fixed and widely deployed. R=brettw BUG=174203,174953 TEST=SET GoogleUpdateIsMachine=1 and then launch chrome.exe. Using procexp, verify that the environment variable is not present in the running process. Review URL: https://chromiumcodereview.appspot.com/12223044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/env_vars.h')
-rw-r--r--chrome/common/env_vars.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/env_vars.h b/chrome/common/env_vars.h
index 0b3ba6f..34e1e17 100644
--- a/chrome/common/env_vars.h
+++ b/chrome/common/env_vars.h
@@ -18,6 +18,11 @@ extern const char kRtlLocale[];
extern const char kLtrLocale[];
extern const char kStartupTestsNumCycles[];
+// Google Update named environment variable that implies kSystemLevel.
+// TODO(erikwright): Put this in chrome/installer/util/util_constants.h when
+// http://crbug.com/174953 is fixed and widely deployed.
+extern const char kGoogleUpdateIsMachineEnvVar[];
+
} // namespace env_vars
#endif // CHROME_COMMON_ENV_VARS_H__