Chromium Code Reviews| Index: chrome/browser/infobars/infobar_service.h |
| diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h |
| index 985b7c0a4dbc1dc49750fec14dcda08b837188b9..89e94dbef15163a0d1b0b1e60d8d954662534258 100644 |
| --- a/chrome/browser/infobars/infobar_service.h |
| +++ b/chrome/browser/infobars/infobar_service.h |
| @@ -45,19 +45,24 @@ class InfoBarService : public infobars::InfoBarManager, |
| // changes. |
| void set_ignore_next_reload() { ignore_next_reload_ = true; } |
| - private: |
| - friend class content::WebContentsUserData<InfoBarService>; |
| - |
| - explicit InfoBarService(content::WebContents* web_contents); |
| - ~InfoBarService() override; |
| - |
| // InfoBarManager: |
|
Peter Kasting
2014/12/19 23:06:23
Why make these public instead of private?
Normall
sdefresne
2014/12/20 11:30:55
I need to make CreateConfirmInfoBar() public since
Peter Kasting
2014/12/22 19:22:05
It may not be good to make all clients use an Info
|
| int GetActiveEntryID() override; |
| + scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar( |
| + scoped_ptr<ConfirmInfoBarDelegate> delegate) override; |
| + |
| + protected: |
| + // InfoBarManager: |
| // TODO(droger): Remove these functions once infobar notifications are |
| // removed. See http://crbug.com/354380 |
| void NotifyInfoBarAdded(infobars::InfoBar* infobar) override; |
| void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override; |
| + private: |
| + friend class content::WebContentsUserData<InfoBarService>; |
| + |
| + explicit InfoBarService(content::WebContents* web_contents); |
| + ~InfoBarService() override; |
| + |
| // content::WebContentsObserver: |
| void RenderProcessGone(base::TerminationStatus status) override; |
| void DidStartNavigationToPendingEntry( |