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

Unified Diff: chrome/browser/infobars/infobars_browsertest.cc

Issue 14241006: Eliminate InfoBarTabHelper. Make InfoBarService a concrete class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/infobars/infobars_browsertest.cc
===================================================================
--- chrome/browser/infobars/infobars_browsertest.cc (revision 195254)
+++ chrome/browser/infobars/infobars_browsertest.cc (working copy)
@@ -76,7 +76,7 @@
infobar_removed_1.Wait();
EXPECT_EQ(0u,
InfoBarService::FromWebContents(browser()->tab_strip_model()->
- GetWebContentsAt(0))->GetInfoBarCount());
+ GetWebContentsAt(0))->infobar_count());
content::WindowedNotificationObserver infobar_removed_2(
chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
@@ -85,5 +85,5 @@
infobar_removed_2.Wait();
EXPECT_EQ(0u,
InfoBarService::FromWebContents(browser()->tab_strip_model()->
- GetActiveWebContents())->GetInfoBarCount());
+ GetActiveWebContents())->infobar_count());
}
« no previous file with comments | « chrome/browser/infobars/infobar_tab_helper.cc ('k') | chrome/browser/infobars/insecure_content_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698