Index: trunk/src/chrome/browser/ui/startup/obsolete_os_infobar_delegate.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/startup/obsolete_os_infobar_delegate.h (revision 238401) |
+++ trunk/src/chrome/browser/ui/startup/obsolete_os_infobar_delegate.h (working copy) |
@@ -16,12 +16,11 @@ |
// a "Learn More" link. |
class ObsoleteOSInfoBarDelegate : public ConfirmInfoBarDelegate { |
public: |
- // Creates an obsolete OS infobar and delegate and adds the infobar to |
- // |infobar_service|. |
+ // Creates an obsolete OS infobar delegate and adds it to |infobar_service|. |
static void Create(InfoBarService* infobar_service); |
private: |
- ObsoleteOSInfoBarDelegate(); |
+ explicit ObsoleteOSInfoBarDelegate(InfoBarService* infobar_service); |
virtual ~ObsoleteOSInfoBarDelegate(); |
virtual string16 GetMessageText() const OVERRIDE; |