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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_browsertest.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR 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/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 a7ed550513ed8e84ec254eb41438fee9cb33a5ac..3a4a1b1258f6b9ece22c489d117679afc660b42c 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
@@ -645,7 +645,7 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ProfilesLaunchedAfterCrash) {
EXPECT_EQ(GURL(chrome::kChromeUINewTabURL),
chrome::GetWebContentsAt(new_browser, 0)->GetURL());
EXPECT_EQ(1U, chrome::GetTabContentsAt(new_browser, 0)->infobar_tab_helper()->
- infobar_count());
+ GetInfoBarCount());
// The profile which normally opens last open pages displays the new tab page.
ASSERT_EQ(1u, browser::GetBrowserCount(profile_last));
@@ -655,7 +655,7 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ProfilesLaunchedAfterCrash) {
EXPECT_EQ(GURL(chrome::kChromeUINewTabURL),
chrome::GetWebContentsAt(new_browser, 0)->GetURL());
EXPECT_EQ(1U, chrome::GetTabContentsAt(new_browser, 0)->infobar_tab_helper()->
- infobar_count());
+ GetInfoBarCount());
// The profile which normally opens URLs displays the new tab page.
ASSERT_EQ(1u, browser::GetBrowserCount(profile_urls));
@@ -665,6 +665,6 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, ProfilesLaunchedAfterCrash) {
EXPECT_EQ(GURL(chrome::kChromeUINewTabURL),
chrome::GetWebContentsAt(new_browser, 0)->GetURL());
EXPECT_EQ(1U, chrome::GetTabContentsAt(new_browser, 0)->infobar_tab_helper()->
- infobar_count());
+ GetInfoBarCount());
}
#endif // !OS_CHROMEOS
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_prompt.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698