summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/component_loader.h
diff options
context:
space:
mode:
authordvh@chromium.org <dvh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 23:14:29 +0000
committerdvh@chromium.org <dvh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 23:14:29 +0000
commit82ba105107e7a8dd6f2b015dbf3119b2ceb8be7c (patch)
tree3f7c800a2a68baccfa45587b48fb4856efe30f1d /chrome/browser/extensions/component_loader.h
parent8d54553bb326629ab4026eefd777b6e34476e469 (diff)
downloadchromium_src-82ba105107e7a8dd6f2b015dbf3119b2ceb8be7c.zip
chromium_src-82ba105107e7a8dd6f2b015dbf3119b2ceb8be7c.tar.gz
chromium_src-82ba105107e7a8dd6f2b015dbf3119b2ceb8be7c.tar.bz2
"Developer Mode" checkbox in chrome://extensions will
enable enable Apps Developer Tools. BUG=253656 Review URL: https://chromiumcodereview.appspot.com/21270003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/component_loader.h')
-rw-r--r--chrome/browser/extensions/component_loader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h
index ca9feca..6a7fb86 100644
--- a/chrome/browser/extensions/component_loader.h
+++ b/chrome/browser/extensions/component_loader.h
@@ -56,6 +56,11 @@ class ComponentLoader {
// extension with the same ID.
std::string AddOrReplace(const base::FilePath& path);
+ // Returns the extension ID of a component extension specified by resource
+ // id of its manifest file.
+ std::string GetExtensionID(int manifest_resource_id,
+ const base::FilePath& root_directory);
+
// Returns true if an extension with the specified id has been added.
bool Exists(const std::string& id) const;