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

Unified Diff: chrome/browser/geolocation/geolocation_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/geolocation/geolocation_browsertest.cc
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc
index 7edf81256adf5c00f6d665c1b02c79a053ca37e9..8022e646e82a80a52f18dce1ce76045d146fe14a 100644
--- a/chrome/browser/geolocation/geolocation_browsertest.cc
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc
@@ -568,10 +568,10 @@ IN_PROC_BROWSER_TEST_F(GeolocationBrowserTest,
InfoBarTabHelper* infobar_helper =
chrome::GetActiveTabContents(current_browser_)->infobar_tab_helper();
- size_t num_infobars_before_cancel = infobar_helper->infobar_count();
+ size_t num_infobars_before_cancel = infobar_helper->GetInfoBarCount();
// Change the iframe, and ensure the infobar is gone.
IFrameLoader change_iframe_1(current_browser_, 1, current_url_);
- size_t num_infobars_after_cancel = infobar_helper->infobar_count();
+ size_t num_infobars_after_cancel = infobar_helper->GetInfoBarCount();
EXPECT_EQ(num_infobars_before_cancel, num_infobars_after_cancel + 1);
}

Powered by Google App Engine
This is Rietveld 408576698