Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: chrome/browser/extensions/extension_disabled_infobar_delegate.cc

Issue 275011: Make the multiple download request dialog an infobar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_disabled_infobar_delegate.cc
===================================================================
--- chrome/browser/extensions/extension_disabled_infobar_delegate.cc (revision 28899)
+++ chrome/browser/extensions/extension_disabled_infobar_delegate.cc (working copy)
@@ -37,6 +37,9 @@
NewRunnableMethod(this, &ExtensionDisabledDialogDelegate::Start));
}
+ virtual ~ExtensionDisabledDialogDelegate() {
+ }
+
// ExtensionInstallUI::Delegate
virtual void ContinueInstall() {
service_->EnableExtension(extension_->id());
@@ -89,8 +92,7 @@
registrar_.Add(this, NotificationType::EXTENSION_UNLOADED_DISABLED,
Source<ExtensionsService>(service));
}
- virtual void InfoBarClosed() {
- delete this;
+ virtual ~ExtensionDisabledInfobarDelegate() {
}
virtual std::wstring GetMessageText() const {
return l10n_util::GetStringF(IDS_EXTENSION_DISABLED_INFOBAR_LABEL,
« no previous file with comments | « chrome/browser/download/download_request_manager.cc ('k') | chrome/browser/gtk/download_request_dialog_delegate_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698