diff options
Diffstat (limited to 'chrome/browser/ui/collected_cookies_infobar_delegate.cc')
-rw-r--r-- | chrome/browser/ui/collected_cookies_infobar_delegate.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/ui/collected_cookies_infobar_delegate.cc b/chrome/browser/ui/collected_cookies_infobar_delegate.cc index 53ac137..2cd6615 100644 --- a/chrome/browser/ui/collected_cookies_infobar_delegate.cc +++ b/chrome/browser/ui/collected_cookies_infobar_delegate.cc @@ -12,6 +12,12 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/resource/resource_bundle.h" +// static +void CollectedCookiesInfoBarDelegate::Create(InfoBarService* infobar_service) { + infobar_service->AddInfoBar(scoped_ptr<InfoBarDelegate>( + new CollectedCookiesInfoBarDelegate(infobar_service))); +} + CollectedCookiesInfoBarDelegate::CollectedCookiesInfoBarDelegate( InfoBarService* infobar_service) : ConfirmInfoBarDelegate(infobar_service) { |