Index: chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
index d7b584d0f57e290c9c8991c4c6a2f35051c39d3a..4c99c7e689b2c6f4254b05952789690886854837 100644 |
--- a/chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
+++ b/chrome/browser/ui/cocoa/infobars/infobar_controller.mm |
@@ -9,8 +9,8 @@ |
#include "base/mac/mac_util.h" |
#include "base/sys_string_conversions.h" |
#include "chrome/browser/api/infobars/confirm_infobar_delegate.h" |
+#include "chrome/browser/api/infobars/infobar_tab_service.h" |
#include "chrome/browser/api/infobars/link_infobar_delegate.h" |
-#include "chrome/browser/infobars/infobar_tab_helper.h" |
#import "chrome/browser/ui/cocoa/animatable_view.h" |
#import "chrome/browser/ui/cocoa/browser_window_controller.h" |
#include "chrome/browser/ui/cocoa/event_utils.h" |
@@ -51,7 +51,7 @@ const float kAnimateCloseDuration = 0.12; |
@synthesize delegate = delegate_; |
- (id)initWithDelegate:(InfoBarDelegate*)delegate |
- owner:(InfoBarTabHelper*)owner { |
+ owner:(InfoBarTabService*)owner { |
DCHECK(delegate); |
if ((self = [super initWithNibName:@"InfoBar" |
bundle:base::mac::FrameworkBundle()])) { |
@@ -451,13 +451,13 @@ const float kAnimateCloseDuration = 0.12; |
////////////////////////////////////////////////////////////////////////// |
// CreateInfoBar() implementations |
-InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) { |
+InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) { |
LinkInfoBarController* controller = |
[[LinkInfoBarController alloc] initWithDelegate:this owner:owner]; |
return new InfoBar(controller, this); |
} |
-InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) { |
+InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) { |
ConfirmInfoBarController* controller = |
[[ConfirmInfoBarController alloc] initWithDelegate:this owner:owner]; |
return new InfoBar(controller, this); |