summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r--chrome/common/extensions/extension.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index b9761d0..afd62c1 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -223,8 +223,13 @@ class Extension {
// the browser might load (like themes and page action icons).
std::set<FilePath> GetBrowserImages();
+ // Calculates and returns the permission class this extension is in.
PermissionClass GetPermissionClass();
+ // Returns an absolute path to the given icon inside of the extension. Returns
+ // an empty FilePath if the extension does not have that icon.
+ FilePath GetIconPath(Icons icon);
+
// Runtime data:
// Put dynamic data about the state of a running extension below.