diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 16:34:13 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 16:34:13 +0000 |
commit | d715fb8034a11d163481f93d9473d968f9f2203e (patch) | |
tree | 0c162fd3de1c8b99ed887a326629cda105dfe685 /chrome/browser/extensions/extension_install_ui_browsertest.cc | |
parent | 97826c1ca1812f98ff4a0a03be27b932e867b22c (diff) | |
download | chromium_src-d715fb8034a11d163481f93d9473d968f9f2203e.zip chromium_src-d715fb8034a11d163481f93d9473d968f9f2203e.tar.gz chromium_src-d715fb8034a11d163481f93d9473d968f9f2203e.tar.bz2 |
Introduce InfoBarTabService API.
The new interface extracts the API bits from InfoBarTabHelper. This
change switches files under chrome/browser/autofill and
chrome/browser/api to use the API and remove the temporarily-allowed
dependency on InfoBarTabHelper.
TBRing other owners as the changes are just to match the updated API and include paths.
TBR=ben@chromium.org
BUG=140037
Review URL: https://chromiumcodereview.appspot.com/10830353
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui_browsertest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_install_ui_browsertest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc index 0e50725..ff388d3 100644 --- a/chrome/browser/extensions/extension_install_ui_browsertest.cc +++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc @@ -28,12 +28,12 @@ class ExtensionInstallUIBrowserTest : public ExtensionBrowserTest { TabContents* tab = chrome::GetActiveTabContents(browser()); ASSERT_TRUE(tab); InfoBarTabHelper* infobar_helper = tab->infobar_tab_helper(); - ASSERT_EQ(1U, infobar_helper->infobar_count()); + ASSERT_EQ(1U, infobar_helper->GetInfoBarCount()); ConfirmInfoBarDelegate* delegate = infobar_helper-> GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); ASSERT_TRUE(delegate); delegate->Cancel(); - ASSERT_EQ(0U, infobar_helper->infobar_count()); + ASSERT_EQ(0U, infobar_helper->GetInfoBarCount()); } const Extension* GetTheme() const { |