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); |
} |
huangs
2012/08/31 20:50:17
Need to implement
void FakeProductState::AddOsUpgr
|
} // namespace |