Chromium Code Reviews| Index: components/infobars/core/infobar_manager.h |
| diff --git a/components/infobars/core/infobar_manager.h b/components/infobars/core/infobar_manager.h |
| index 502edac68a9b7ba6795df303ee4bd9cf558d3cde..43014d41e801d2eba6b5bf201772f3f053f38dac 100644 |
| --- a/components/infobars/core/infobar_manager.h |
| +++ b/components/infobars/core/infobar_manager.h |
| @@ -17,6 +17,10 @@ |
| class ConfirmInfoBarDelegate; |
| class GURL; |
| +namespace autofill { |
| +class AutofillCCInfoBarDelegate; |
| +} |
| + |
| namespace content { |
| class WebContents; |
| } |
| @@ -104,6 +108,10 @@ class InfoBarManager { |
| virtual scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar( |
| scoped_ptr<ConfirmInfoBarDelegate> delegate) = 0; |
| + // Returns an autofill credit card saving infobar that owns |delegate|. |
|
Peter Kasting
2016/01/08 00:34:31
There has to be a better place for this. This sor
please use gerrit instead
2016/01/12 00:47:26
Created components/autofill/core/browser/autofill_
|
| + virtual scoped_ptr<infobars::InfoBar> CreateAutofillCCInfoBar( |
| + scoped_ptr<autofill::AutofillCCInfoBarDelegate> delegate) = 0; |
| + |
| // Opens a URL according to the specified |disposition|. |
| virtual void OpenURL(const GURL& url, WindowOpenDisposition disposition) = 0; |