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

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

Issue 10829298: Allow invocation of --multi-install without a product if App Host needs binaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installer_state.cc
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc
index 9e69398860dfe8fcda82a204e140caa299ac6f57..13d57947b1a16322de9ec83282e2a3bf1d93544a 100644
--- a/chrome/installer/util/installer_state.cc
+++ b/chrome/installer/util/installer_state.cc
@@ -255,8 +255,8 @@ void InstallerState::Initialize(const CommandLine& command_line,
operation_ = MULTI_INSTALL;
}
- // Initial, over, and un-installs will always take place under one of the
- // product app guids (Chrome, Chrome Frame, or App Host, in order of
+ // Initial, over, and un-installs will take place under one of the
+ // product app guids (Chrome, Chrome Frame, App Host, or Binaries, in order of
// preference).
if (operand == NULL) {
BrowserDistribution::Type operand_distribution_type =
@@ -267,8 +267,6 @@ void InstallerState::Initialize(const CommandLine& command_line,
operand_distribution_type = BrowserDistribution::CHROME_FRAME;
else if (prefs.install_chrome_app_host())
operand_distribution_type = BrowserDistribution::CHROME_APP_HOST;
- else
- NOTREACHED();
operand = BrowserDistribution::GetSpecificDistribution(
operand_distribution_type);
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698