| Index: chrome/browser/ui/android/infobars/confirm_infobar.h
|
| ===================================================================
|
| --- chrome/browser/ui/android/infobars/confirm_infobar.h (revision 226624)
|
| +++ chrome/browser/ui/android/infobars/confirm_infobar.h (working copy)
|
| @@ -12,7 +12,7 @@
|
|
|
| class ConfirmInfoBar : public InfoBarAndroid {
|
| public:
|
| - ConfirmInfoBar(InfoBarService* owner, InfoBarDelegate* delegate);
|
| + explicit ConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate> delegate);
|
| virtual ~ConfirmInfoBar();
|
|
|
| private:
|
| @@ -22,9 +22,9 @@
|
| virtual void ProcessButton(int action,
|
| const std::string& action_value) OVERRIDE;
|
|
|
| + ConfirmInfoBarDelegate* GetDelegate();
|
| string16 GetTextFor(ConfirmInfoBarDelegate::InfoBarButton button);
|
|
|
| - ConfirmInfoBarDelegate* delegate_;
|
| base::android::ScopedJavaGlobalRef<jobject> java_confirm_delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar);
|
|
|