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

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

Issue 132113002: Merge 241116 "Remove Chrome Frame quick-enable." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 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/installation_validator.cc ('k') | chrome/installer/util/util_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installation_validator_unittest.cc
===================================================================
--- chrome/installer/util/installation_validator_unittest.cc (revision 243908)
+++ chrome/installer/util/installation_validator_unittest.cc (working copy)
@@ -94,10 +94,6 @@
Level install_level,
const char* version,
int channel_modifiers);
- void AddQuickEnableCfCommand(BrowserDistribution::Type dist_type,
- Level install_level,
- const char* version,
- int channel_modifiers);
void set_multi_install(bool is_multi_install) {
multi_install_ = is_multi_install;
}
@@ -298,27 +294,6 @@
commands_.Set(installer::kCmdQuickEnableApplicationHost, app_cmd);
}
-// Adds the "quick-enable-cf" Google Update product command.
-void FakeProductState::AddQuickEnableCfCommand(
- BrowserDistribution::Type dist_type,
- Level install_level,
- const char* version,
- int channel_modifiers) {
- DCHECK_EQ(dist_type, BrowserDistribution::CHROME_BINARIES);
- DCHECK_NE(channel_modifiers & CM_MULTI, 0);
-
- CommandLine cmd_line(GetSetupExePath(dist_type, install_level, version,
- channel_modifiers));
- cmd_line.AppendSwitch(installer::switches::kMultiInstall);
- if (install_level == SYSTEM_LEVEL)
- cmd_line.AppendSwitch(installer::switches::kSystemLevel);
- cmd_line.AppendSwitch(installer::switches::kChromeFrameQuickEnable);
- AppCommand app_cmd(cmd_line.GetCommandLineString());
- app_cmd.set_sends_pings(true);
- app_cmd.set_is_web_accessible(true);
- commands_.Set(installer::kCmdQuickEnableCf, app_cmd);
-}
-
} // namespace
// Fixture for testing the InstallationValidator. Errors logged by the
@@ -501,10 +476,6 @@
channel_modifiers, vehicle);
state->set_multi_install(is_multi_install);
if (prod_type == BrowserDistribution::CHROME_BINARIES) {
- if (inst_type == InstallationValidator::CHROME_MULTI) {
- state->AddQuickEnableCfCommand(prod_type, install_level,
- chrome::kChromeVersion, channel_modifiers);
- }
state->AddQueryEULAAcceptanceCommand(prod_type,
install_level,
chrome::kChromeVersion,
« no previous file with comments | « chrome/installer/util/installation_validator.cc ('k') | chrome/installer/util/util_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698