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

Unified Diff: chrome/installer/util/chrome_browser_operations.cc

Issue 811283002: [Installer] Cleaning up dead code for App Launcher / App Host installs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fix. Created 5 years, 11 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 | « chrome/installer/util/chrome_app_host_operations.cc ('k') | chrome/installer/util/eula_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/chrome_browser_operations.cc
diff --git a/chrome/installer/util/chrome_browser_operations.cc b/chrome/installer/util/chrome_browser_operations.cc
index 431b2e1dc0024ca69dfbdff66d155ab03eecd954..133fa9f0a5551489c397327896aba97bfe05a8ab 100644
--- a/chrome/installer/util/chrome_browser_operations.cc
+++ b/chrome/installer/util/chrome_browser_operations.cc
@@ -88,7 +88,11 @@ bool ChromeBrowserOperations::SetChannelFlags(
ChannelInfo* channel_info) const {
#if defined(GOOGLE_CHROME_BUILD)
DCHECK(channel_info);
- return channel_info->SetChrome(set);
+ bool chrome_changed = channel_info->SetChrome(set);
+ // Remove App Launcher's channel flags, since App Launcher does not exist as
+ // an independent product, and is a part of Chrome.
+ bool app_launcher_changed = channel_info->SetAppLauncher(false);
+ return chrome_changed || app_launcher_changed;
#else
return false;
#endif
« no previous file with comments | « chrome/installer/util/chrome_app_host_operations.cc ('k') | chrome/installer/util/eula_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698