summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/ui_test_utils.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 01:16:23 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 01:16:23 +0000
commit591a59fe61d07d04b99d333628e23c73f528fa6e (patch)
tree0c3208fa9cdb5286797f5a76f66ed24607502194 /chrome/test/base/ui_test_utils.cc
parent0ec7e6de19679a0bb0254b71ccfc95c40ec99cf0 (diff)
downloadchromium_src-591a59fe61d07d04b99d333628e23c73f528fa6e.zip
chromium_src-591a59fe61d07d04b99d333628e23c73f528fa6e.tar.gz
chromium_src-591a59fe61d07d04b99d333628e23c73f528fa6e.tar.bz2
Switch InfoBarTabHelper to use WebContentsUserData.
BUG=107201 TEST=no visible change Review URL: https://chromiumcodereview.appspot.com/11030045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/ui_test_utils.cc')
-rw-r--r--chrome/test/base/ui_test_utils.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 4626c81..e9e1f3c 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -26,7 +26,6 @@
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/history/history_service_factory.h"
-#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service.h"
@@ -392,12 +391,6 @@ int FindInPage(TabContents* tab_contents, const string16& search_string,
return observer.number_of_matches();
}
-void CloseAllInfoBars(TabContents* tab) {
- InfoBarTabHelper* infobar_helper = tab->infobar_tab_helper();
- while (infobar_helper->GetInfoBarCount() > 0)
- infobar_helper->RemoveInfoBar(infobar_helper->GetInfoBarDelegateAt(0));
-}
-
void RegisterAndWait(content::NotificationObserver* observer,
int type,
const content::NotificationSource& source) {