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

Unified Diff: chrome/app/client_util.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 | « no previous file | chrome/common/env_vars.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/client_util.cc
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc
index 905f9df0eac28ae56c78713e734e7dc9749b4363..d78feb26295c184b14116c84efbed3ff690100b6 100644
--- a/chrome/app/client_util.cc
+++ b/chrome/app/client_util.cc
@@ -26,6 +26,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_result_codes.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/env_vars.h"
#include "chrome/installer/util/browser_distribution.h"
#include "chrome/installer/util/channel_info.h"
#include "chrome/installer/util/install_util.h"
@@ -428,6 +429,9 @@ int MainDllLoader::Launch(HINSTANCE instance,
scoped_ptr<base::Environment> env(base::Environment::Create());
env->SetVar(chrome::kChromeVersionEnvVar, WideToUTF8(version));
+ // TODO(erikwright): Remove this when http://crbug.com/174953 is fixed and
+ // widely deployed.
+ env->UnSetVar(env_vars::kGoogleUpdateIsMachineEnvVar);
InitCrashReporter();
OnBeforeLaunch(file);
« no previous file with comments | « no previous file | chrome/common/env_vars.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698