| Index: components/infobars/core/infobar_manager.h
|
| diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h
|
| index 532566ef6621e32761c1662d8050351829e1b6d1..5685a030316e17e7d189a913a4317fce2685cc9c 100644
|
| --- a/components/infobars/core/infobar_manager.h
|
| +++ b/components/infobars/core/infobar_manager.h
|
| @@ -11,6 +11,8 @@
|
| #include "base/observer_list.h"
|
| #include "components/infobars/core/infobar_delegate.h"
|
|
|
| +class ConfirmInfoBarDelegate;
|
| +
|
| namespace content {
|
| class WebContents;
|
| }
|
| @@ -94,6 +96,10 @@ class InfoBarManager {
|
| // Returns the active entry ID.
|
| virtual int GetActiveEntryID() = 0;
|
|
|
| + // Returns a confirm infobar that owns |delegate|.
|
| + virtual scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar(
|
| + scoped_ptr<ConfirmInfoBarDelegate> delegate) = 0;
|
| +
|
| protected:
|
| // Notifies the observer in |observer_list_|.
|
| // TODO(droger): Absorb these methods back into their callers once virtual
|
|
|