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

Unified Diff: chrome/tools/disable_outdated_build_detector/constants.cc

Issue 2193823002: A tool to disable the outdated build detector for organic installs of Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium.fyi.json Created 4 years, 4 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
Index: chrome/tools/disable_outdated_build_detector/constants.cc
diff --git a/chrome/tools/disable_outdated_build_detector/constants.cc b/chrome/tools/disable_outdated_build_detector/constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7d69c820136bb84aba5b074dd7a0fd5efef3a552
--- /dev/null
+++ b/chrome/tools/disable_outdated_build_detector/constants.cc
@@ -0,0 +1,40 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/tools/disable_outdated_build_detector/constants.h"
+
+namespace switches {
+
+const char kMultiInstall[] = "multi-install";
+const char kSystemLevel[] = "system-level";
+
+} // namespace switches
+
+namespace env {
+
+// The presence of this environment variable with a value of 1 implies that the
+// tool should run as a system installation regardless of what is on the command
+// line.
+const char kGoogleUpdateIsMachine[] = "GoogleUpdateIsMachine";
+
+} // namespace env
+
+// App GUIDs for Google Chrome and the Google Chrome binaries.
+#if defined(GOOGLE_CHROME_BUILD)
+const wchar_t kChromeAppGuid[] = L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
+const wchar_t kBinariesAppGuid[] = L"{4DC8B4CA-1BDA-483e-B5FA-D3C12E15B62D}";
+#else
+const wchar_t kChromeAppGuid[] = L"";
+const wchar_t kBinariesAppGuid[] = L"";
+#endif
+
+// The new brand to which organic installs will be switched.
+const wchar_t kAOHY[] = L"AOHY";
+
+// The names of registry values within a product's ClientState key.
+const wchar_t kBrand[] = L"brand";
+const wchar_t kInstallerResult[] = L"InstallerResult";
+const wchar_t kInstallerError[] = L"InstallerError";
+const wchar_t kInstallerExtraCode1[] = L"InstallerExtraCode1";
+const wchar_t kUninstallArguments[] = L"UninstallArguments";

Powered by Google App Engine
This is Rietveld 408576698