Chromium Code Reviews| Index: chrome/browser/extensions/extension_install_ui_browsertest.cc | 
| diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc | 
| index 23ddbb73a366fdc54ae9533ea580bbe83372c8a9..8db09311599aaa9786d48a203e972df34acfd60b 100644 | 
| --- a/chrome/browser/extensions/extension_install_ui_browsertest.cc | 
| +++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc | 
| @@ -6,6 +6,7 @@ | 
| #include "chrome/browser/extensions/extension_browsertest.h" | 
| #include "chrome/browser/extensions/extension_service.h" | 
| #include "chrome/browser/extensions/theme_installed_infobar_delegate.h" | 
| +#include "chrome/browser/infobars/infobar_tab_helper.h" | 
| #include "chrome/browser/profiles/profile.h" | 
| #include "chrome/browser/ui/browser.h" | 
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 
| @@ -20,12 +21,12 @@ class ExtensionInstallUIBrowserTest : public ExtensionBrowserTest { | 
| void VerifyThemeInfoBarAndUndoInstall() { | 
| TabContentsWrapper* tab = browser()->GetSelectedTabContentsWrapper(); | 
| 
 
Peter Kasting
2011/08/31 18:47:32
Nit: Convert this TCW* temp into an InfoBarTabHelp
 
 | 
| ASSERT_TRUE(tab); | 
| - ASSERT_EQ(1U, tab->infobar_count()); | 
| - ConfirmInfoBarDelegate* delegate = | 
| - tab->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); | 
| + ASSERT_EQ(1U, tab->infobar_tab_helper()->infobar_count()); | 
| + ConfirmInfoBarDelegate* delegate = tab->infobar_tab_helper()-> | 
| + GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); | 
| ASSERT_TRUE(delegate); | 
| delegate->Cancel(); | 
| - ASSERT_EQ(0U, tab->infobar_count()); | 
| + ASSERT_EQ(0U, tab->infobar_tab_helper()->infobar_count()); | 
| } | 
| const Extension* GetTheme() const { |