| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/extensions/extension_browsertest.h" | 9 #include "chrome/browser/extensions/extension_browsertest.h" |
| 10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
| (...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 ASSERT_EQ(1u, BrowserList::GetBrowserCount(profile_urls)); | 689 ASSERT_EQ(1u, BrowserList::GetBrowserCount(profile_urls)); |
| 690 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL); | 690 new_browser = FindOneOtherBrowserForProfile(profile_urls, NULL); |
| 691 ASSERT_TRUE(new_browser); | 691 ASSERT_TRUE(new_browser); |
| 692 ASSERT_EQ(1, new_browser->tab_count()); | 692 ASSERT_EQ(1, new_browser->tab_count()); |
| 693 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), | 693 EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), |
| 694 new_browser->GetWebContentsAt(0)->GetURL()); | 694 new_browser->GetWebContentsAt(0)->GetURL()); |
| 695 EXPECT_EQ(1U, new_browser->GetTabContentsWrapperAt(0)->infobar_tab_helper()-> | 695 EXPECT_EQ(1U, new_browser->GetTabContentsWrapperAt(0)->infobar_tab_helper()-> |
| 696 infobar_count()); | 696 infobar_count()); |
| 697 } | 697 } |
| 698 #endif // !OS_CHROMEOS | 698 #endif // !OS_CHROMEOS |
| OLD | NEW |