summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension.h
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 15:15:09 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 15:15:09 +0000
commita65882cfd89af9fc51fc34781fd9ebfc4978ea4c (patch)
tree1bc1a7484c4d286a1ce26af1076c13cd40682e20 /chrome/common/extensions/extension.h
parent96fdf3dd2d66d4c5b556df3574b324f36cafcd81 (diff)
downloadchromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.zip
chromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.tar.gz
chromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.tar.bz2
Allow an extension to dynamically set extra data in its update URL, in order
to communicate dynamic information to its update server if needed. BUG=none TEST=Make sure that existing extensions that do no set any extra data are not adversely affected. Review URL: http://codereview.chromium.org/4725002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65946 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 ce7e628..6c545e73 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -356,6 +356,10 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// on the whitelist of extensions that can script all pages.
bool CanExecuteScriptEverywhere() const;
+ // Returns true if this extension updates itself using the extension
+ // gallery.
+ bool UpdatesFromGallery() const;
+
// Accessors:
const FilePath& path() const { return path_; }