summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-05-11 14:08:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-11 21:09:25 +0000
commitd6396d89c405bb76aa0ec7331c67e3e4077558ff (patch)
treef06f5db1941f75f8dc91254f8c3f03aa9af8e99c /chrome/installer/util
parent8793bf2e30bf977047ee88c57e91d05d414030ca (diff)
downloadchromium_src-d6396d89c405bb76aa0ec7331c67e3e4077558ff.zip
chromium_src-d6396d89c405bb76aa0ec7331c67e3e4077558ff.tar.gz
chromium_src-d6396d89c405bb76aa0ec7331c67e3e4077558ff.tar.bz2
Delete unused code in chrome/common or mark them as platform specific.
Found by Scythe. Review URL: https://codereview.chromium.org/1127163004 Cr-Commit-Position: refs/heads/master@{#329230}
Diffstat (limited to 'chrome/installer/util')
-rw-r--r--chrome/installer/util/util_constants.cc9
-rw-r--r--chrome/installer/util/util_constants.h6
2 files changed, 15 insertions, 0 deletions
diff --git a/chrome/installer/util/util_constants.cc b/chrome/installer/util/util_constants.cc
index 6975262..bfb5406 100644
--- a/chrome/installer/util/util_constants.cc
+++ b/chrome/installer/util/util_constants.cc
@@ -186,6 +186,15 @@ const char kOutputFile[] = "output-file";
} // namespace switches
+namespace env_vars {
+
+// 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.
+const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine";
+
+} // namespace env_vars
+
// The Active Setup executable will be an identical copy of setup.exe; this is
// necessary because Windows' installer detection heuristics (which include
// things like process name being "setup.exe") will otherwise force elevation
diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h
index 5776ae7..b09e65e 100644
--- a/chrome/installer/util/util_constants.h
+++ b/chrome/installer/util/util_constants.h
@@ -183,6 +183,12 @@ extern const char kOutputFile[];
} // namespace switches
+namespace env_vars {
+
+extern const char kGoogleUpdateIsMachineEnvVar[];
+
+} // namespace env_vars
+
extern const wchar_t kActiveSetupExe[];
extern const wchar_t kAppLauncherGuid[];
extern const wchar_t kChromeDll[];