diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 00:27:14 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 00:27:14 +0000 |
commit | daba9ebc9d294a645e5569617628a73289755311 (patch) | |
tree | 8b7fb3ece5914eb11ad48226039271192c667d62 /chrome/browser/extensions/extension_prefs.h | |
parent | ca7bf5806cf02793cbd756b7138cd766cc2caf28 (diff) | |
download | chromium_src-daba9ebc9d294a645e5569617628a73289755311.zip chromium_src-daba9ebc9d294a645e5569617628a73289755311.tar.gz chromium_src-daba9ebc9d294a645e5569617628a73289755311.tar.bz2 |
Fix "crashed extension" infobar browser crashes.
This is a general rework of how "crashed extension" infobar works
and how the extension is actually recovered after the crash.
TEST=See bug.
http://crbug.com/15888
Review URL: http://codereview.chromium.org/164151
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22985 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r-- | chrome/browser/extensions/extension_prefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h index 277b9c3..a22601e 100644 --- a/chrome/browser/extensions/extension_prefs.h +++ b/chrome/browser/extensions/extension_prefs.h @@ -43,6 +43,9 @@ class ExtensionPrefs { void OnExtensionUninstalled(const Extension* extension, bool external_uninstall); + // Returns extension path based on extension ID, or empty FilePath on error. + FilePath GetExtensionPath(const std::string& extension_id); + // Returns base extensions install directory. const FilePath& install_directory() const { return install_directory_; } |