Index: chrome/browser/ui/startup/startup_browser_creator_browsertest.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc |
index 427fc9aa7320716ec25059460b3ca4743892c2b0..1e1a055a550f0f221d0f53349bfb6dc77de50fcb 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc |
@@ -280,28 +280,6 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, |
ASSERT_EQ(1, new_browser->tab_strip_model()->count()); |
} |
-#if defined(OS_WIN) |
-IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ActivateExistingBrowser) { |
- // Initially, there should only be one browser open. |
- ASSERT_TRUE(browser()); |
- EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile(), |
- browser()->host_desktop_type())); |
- |
- // Add --activate-existing-profile-browser to the command line and |
- // start a new process. |
- base::CommandLine dummy(base::CommandLine::NO_PROGRAM); |
- dummy.AppendSwitch(switches::kActivateExistingProfileBrowser); |
- |
- StartupBrowserCreator::ProcessCommandLineAlreadyRunning( |
- dummy, base::FilePath(), browser()->profile()->GetPath()); |
- |
- // This should not have created a new browser window, and should have |
- // activated the existing browser. |
- EXPECT_EQ(1u, chrome::GetBrowserCount(browser()->profile(), |
- browser()->host_desktop_type())); |
-} |
-#endif |
- |
// App shortcuts are not implemented on mac os. |
#if !defined(OS_MACOSX) |
IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, OpenAppShortcutNoPref) { |