summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r--chrome/browser/extensions/extension_prefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 59adfd8..11c7e31 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -56,6 +56,9 @@ class ExtensionPrefs {
// Ensure old extensions have fully up-to-date prefs values.
void MigrateToPrefs(Extension* extension);
+ // 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_; }