Chromium Code Reviews| Index: chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
| diff --git a/chrome/browser/extensions/webstore_startup_installer_browsertest.cc b/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
| index 60635363b8640f30aa27c7398152a9e29e449346..76b4ff17fb64d5d56cf8c579b5b8f171d1ad3cf8 100644 |
| --- a/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
| +++ b/chrome/browser/extensions/webstore_startup_installer_browsertest.cc |
| @@ -354,8 +354,6 @@ IN_PROC_BROWSER_TEST_F(CommandLineWebstoreInstall, LimitedAccept) { |
| CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| command_line->AppendSwitchASCII( |
| switches::kLimitedInstallFromWebstore, "2"); |
| - command_line->AppendSwitchASCII( |
| - switches::kAppsGalleryInstallAutoConfirmForTests, "accept"); |
| helper.LimitedInstallFromWebstore(*command_line, browser()->profile(), |
| MessageLoop::QuitWhenIdleClosure()); |
| MessageLoop::current()->Run(); |
| @@ -363,17 +361,3 @@ IN_PROC_BROWSER_TEST_F(CommandLineWebstoreInstall, LimitedAccept) { |
| EXPECT_TRUE(saw_install()); |
| EXPECT_EQ(0, browser_open_count()); |
| } |
| - |
| -IN_PROC_BROWSER_TEST_F(CommandLineWebstoreInstall, LimitedCancel) { |
|
James Hawkins
2013/04/19 23:53:23
Is there any test that needs to be added?
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| - command_line->AppendSwitchASCII( |
| - switches::kLimitedInstallFromWebstore, "2"); |
| - command_line->AppendSwitchASCII( |
| - switches::kAppsGalleryInstallAutoConfirmForTests, "cancel"); |
| - extensions::StartupHelper helper; |
| - helper.LimitedInstallFromWebstore(*command_line, browser()->profile(), |
| - MessageLoop::QuitWhenIdleClosure()); |
| - MessageLoop::current()->Run(); |
| - EXPECT_FALSE(saw_install()); |
| - EXPECT_EQ(0, browser_open_count()); |
| -} |