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

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

Issue 10823437: Callback flow to register Chrome and update shortcuts after OS upgrade to Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Abandoning the use of ON_OS_UPGRADE_SUCCESSFUL installer message. 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
Index: chrome/installer/util/installation_validator_unittest.cc
diff --git a/chrome/installer/util/installation_validator_unittest.cc b/chrome/installer/util/installation_validator_unittest.cc
index c99711004405dc9f07d56107e3de013e1608d36e..a3a791243f89897a11b6fc3594217bc6992a853a 100644
--- a/chrome/installer/util/installation_validator_unittest.cc
+++ b/chrome/installer/util/installation_validator_unittest.cc
@@ -210,8 +210,10 @@ void FakeProductState::AddQuickEnableApplicationHostCommand(
channel_modifiers));
cmd_line.AppendSwitch(installer::switches::kMultiInstall);
cmd_line.AppendSwitch(installer::switches::kChromeAppHost);
- commands_.Set(installer::kCmdQuickEnableApplicationHost,
- AppCommand(cmd_line.GetCommandLineString(), true, true));
+ AppCommand app_cmd(cmd_line.GetCommandLineString());
+ app_cmd.set_sends_pings(true);
+ app_cmd.set_is_web_accessible(true);
+ commands_.Set(installer::kCmdQuickEnableApplicationHost, app_cmd);
}
// Adds the "quick-enable-cf" Google Update product command.
@@ -229,8 +231,10 @@ void FakeProductState::AddQuickEnableCfCommand(
if (install_level == SYSTEM_LEVEL)
cmd_line.AppendSwitch(installer::switches::kSystemLevel);
cmd_line.AppendSwitch(installer::switches::kChromeFrameQuickEnable);
- commands_.Set(installer::kCmdQuickEnableCf,
- AppCommand(cmd_line.GetCommandLineString(), true, true));
+ 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

Powered by Google App Engine
This is Rietveld 408576698