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

Unified Diff: chrome/installer/mini_installer/configuration.cc

Issue 2802713002: Enable side-by-side beta and dev channels. (Closed)
Patch Set: add missing test stanza for reland Created 3 years, 8 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/installer/mini_installer/configuration.cc
diff --git a/chrome/installer/mini_installer/configuration.cc b/chrome/installer/mini_installer/configuration.cc
index ec7c96d707e1ca9f020a21e83733f3ec4fd77f52..0a6163dbd3d6f0ea1af4e76f071f84252e8f4c13 100644
--- a/chrome/installer/mini_installer/configuration.cc
+++ b/chrome/installer/mini_installer/configuration.cc
@@ -75,6 +75,10 @@ bool Configuration::ParseCommandLine(const wchar_t* command_line) {
if (0 == ::lstrcmpi(args_[i], L"--system-level"))
is_system_level_ = true;
#if defined(GOOGLE_CHROME_BUILD)
+ else if (0 == ::lstrcmpi(args_[i], L"--chrome-beta"))
+ chrome_app_guid_ = google_update::kBetaAppGuid;
+ else if (0 == ::lstrcmpi(args_[i], L"--chrome-dev"))
+ chrome_app_guid_ = google_update::kDevAppGuid;
else if (0 == ::lstrcmpi(args_[i], L"--chrome-sxs"))
chrome_app_guid_ = google_update::kSxSAppGuid;
#endif
« no previous file with comments | « chrome/installer/mini_installer/chrome_appid.cc ('k') | chrome/installer/mini_installer/configuration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698