From e3824ece8d9ded9ca98a976d2d023cb5e7c297fc Mon Sep 17 00:00:00 2001 From: "erikwright@chromium.org" Date: Fri, 8 Feb 2013 01:02:40 +0000 Subject: 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 --- chrome/installer/util/util_constants.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'chrome/installer/util/util_constants.cc') diff --git a/chrome/installer/util/util_constants.cc b/chrome/installer/util/util_constants.cc index b41fada..cd4e379 100644 --- a/chrome/installer/util/util_constants.cc +++ b/chrome/installer/util/util_constants.cc @@ -247,11 +247,6 @@ const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; const wchar_t kInstallerSuccessLaunchCmdLine[] = L"InstallerSuccessLaunchCmdLine"; -// The presence of this environment variable with a value of 1 implies that -// we should run as a system installation regardless of what is on the -// command line. -const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; - const wchar_t kOptionAppHostIsLauncher[] = L"app-host-is-launcher"; const wchar_t kOptionMultiInstall[] = L"multi-install"; const wchar_t kOptionReadyMode[] = L"ready-mode"; -- cgit v1.1