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

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: Removing ChannelInfo behavioral changes; removing inappropriate NULL check. 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
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 1b7bd00a87f61ad64c28c503718c99ea4b751c90..935555faed4f09f56f0c29095bef6511048b5b59 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

Powered by Google App Engine
This is Rietveld 408576698