diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:00:10 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:00:10 +0000 |
commit | ad0c2e1b9d23279fabdad09f2ca00397dc197b4d (patch) | |
tree | 3cdbb1a190e051abb477da077e75a68a7d46f81c /chrome/browser/extensions/crashed_extension_infobar.h | |
parent | 03b3bbf29d5d6eb23984206379e9b9e8f89f16df (diff) | |
download | chromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.zip chromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.tar.gz chromium_src-ad0c2e1b9d23279fabdad09f2ca00397dc197b4d.tar.bz2 |
If an extension crashes or is killed by the task manager then reloaded, the info bar telling the user that the extension has crashed should disappear in ALL windows should the user choose to hit the 'reload' button.
NOTE: If the user 'x's out the info bar, the bars in the other windows will remain.
BUG=33396
TEST=none
Review URL: http://codereview.chromium.org/548206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/crashed_extension_infobar.h')
-rw-r--r-- | chrome/browser/extensions/crashed_extension_infobar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/extensions/crashed_extension_infobar.h b/chrome/browser/extensions/crashed_extension_infobar.h index 4a4e625..48e9acb 100644 --- a/chrome/browser/extensions/crashed_extension_infobar.h +++ b/chrome/browser/extensions/crashed_extension_infobar.h @@ -25,6 +25,13 @@ class CrashedExtensionInfoBarDelegate : public ConfirmInfoBarDelegate { ExtensionsService* extensions_service, const Extension* extension); + const std::string extension_id() { return extension_id_; } + + // InfoBarDelegate + virtual CrashedExtensionInfoBarDelegate* AsCrashedExtensionInfoBarDelegate() { + return this; + } + // ConfirmInfoBarDelegate virtual std::wstring GetMessageText() const; virtual void InfoBarClosed(); |