summaryrefslogtreecommitdiffstats
path: root/chrome/browser/alternate_nav_url_fetcher.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 16:48:17 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 16:48:17 +0000
commitaa1834c788f85aef89c3e39cf8258e8d2ad42281 (patch)
treeb26d28cfc982f0069fee45d4d8df4e60e519872e /chrome/browser/alternate_nav_url_fetcher.cc
parent25af8b0f78aa52c2484e71ae3c8ce36cf1a72051 (diff)
downloadchromium_src-aa1834c788f85aef89c3e39cf8258e8d2ad42281.zip
chromium_src-aa1834c788f85aef89c3e39cf8258e8d2ad42281.tar.gz
chromium_src-aa1834c788f85aef89c3e39cf8258e8d2ad42281.tar.bz2
Revert 99187 (speculative revert for ProfileSyncServiceSessionTest.FailModelAssociation on 10.5)
- Move infobar handling to a tab helper, part 1. BUG=94741 TEST=no visible change Review URL: http://codereview.chromium.org/7810002 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7827017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/alternate_nav_url_fetcher.cc')
-rw-r--r--chrome/browser/alternate_nav_url_fetcher.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/alternate_nav_url_fetcher.cc b/chrome/browser/alternate_nav_url_fetcher.cc
index 4edac95..6555261 100644
--- a/chrome/browser/alternate_nav_url_fetcher.cc
+++ b/chrome/browser/alternate_nav_url_fetcher.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/alternate_nav_url_fetcher.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/intranet_redirect_detector.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
@@ -167,5 +166,5 @@ void AlternateNavURLFetcher::ShowInfobarIfPossible() {
infobar_contents_ = controller_->tab_contents();
StoreActiveEntryUniqueID(infobar_contents_);
TabContentsWrapper::GetCurrentWrapperForContents(infobar_contents_)->
- infobar_tab_helper()->AddInfoBar(this);
+ AddInfoBar(this);
}