summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension.h
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 04:07:55 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-21 04:07:55 +0000
commit26f16b508c8f1d44ca12a95dfcc25193c700f6c3 (patch)
tree0aec165200e0ed356ad5560fa64d8debc4a2edd4 /chrome/common/extensions/extension.h
parentd78ef705947b6f3bb52aa10cdf3ed21b579bf507 (diff)
downloadchromium_src-26f16b508c8f1d44ca12a95dfcc25193c700f6c3.zip
chromium_src-26f16b508c8f1d44ca12a95dfcc25193c700f6c3.tar.gz
chromium_src-26f16b508c8f1d44ca12a95dfcc25193c700f6c3.tar.bz2
Only allow installation of extensions/apps with gallery update url via download from gallery
BUG=45542 TEST=NONE Review URL: http://codereview.chromium.org/2855009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r--chrome/common/extensions/extension.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 512c7c0..08654ef 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -213,6 +213,10 @@ class Extension {
// it was explictly turned on via a command line switch).
static bool AppsAreEnabled();
+ // Returns the url prefix for the extension/apps gallery. Can be set via the
+ // --apps-gallery-url switch.
+ static std::string ChromeStoreURL();
+
// Initialize the extension from a parsed manifest.
// Usually, the id of an extension is generated by the "key" property of
// its manifest, but if |require_key| is |false|, a temporary ID will be