summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_tab_contents.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 19:11:42 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 19:11:42 +0000
commit4f822f02cd6800ee9c276803c6c6e271ca8146de (patch)
treeafbd6986454f4d587c9d09d9790ce9e7c473d04a /chrome/browser/ui/browser_tab_contents.cc
parentde794ebc37fdefdb61f340b8e91f1ac80b1b8678 (diff)
downloadchromium_src-4f822f02cd6800ee9c276803c6c6e271ca8146de.zip
chromium_src-4f822f02cd6800ee9c276803c6c6e271ca8146de.tar.gz
chromium_src-4f822f02cd6800ee9c276803c6c6e271ca8146de.tar.bz2
Convert all uses of InfoBarTabHelper -> InfoBarService. Make InfoBarTabHelper
an implementation detail by declaring all its functions private. BUG=none TEST=none Review URL: https://codereview.chromium.org/11442041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_tab_contents.cc')
-rw-r--r--chrome/browser/ui/browser_tab_contents.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/browser_tab_contents.cc b/chrome/browser/ui/browser_tab_contents.cc
index 48e9c36..54da082 100644
--- a/chrome/browser/ui/browser_tab_contents.cc
+++ b/chrome/browser/ui/browser_tab_contents.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/browser_tab_contents.h"
#include "base/command_line.h"
+#include "chrome/browser/api/infobars/infobar_service.h"
#include "chrome/browser/autofill/autofill_external_delegate.h"
#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/content_settings/tab_specific_content_settings.h"
@@ -13,7 +14,6 @@
#include "chrome/browser/external_protocol/external_protocol_observer.h"
#include "chrome/browser/favicon/favicon_tab_helper.h"
#include "chrome/browser/history/history_tab_helper.h"
-#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "chrome/browser/managed_mode/managed_mode_navigation_observer.h"
#include "chrome/browser/net/load_time_stats.h"
#include "chrome/browser/net/net_error_tab_helper.h"
@@ -130,7 +130,7 @@ void BrowserTabContents::AttachTabHelpers(WebContents* web_contents) {
FindTabHelper::CreateForWebContents(web_contents);
HistoryTabHelper::CreateForWebContents(web_contents);
HungPluginTabHelper::CreateForWebContents(web_contents);
- InfoBarTabHelper::CreateForWebContents(web_contents);
+ InfoBarService::CreateForWebContents(web_contents);
ManagedModeNavigationObserver::CreateForWebContents(web_contents);
NavigationMetricsRecorder::CreateForWebContents(web_contents);
if (OmniboxSearchHint::IsEnabled(profile))