summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 15:43:23 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 15:43:23 +0000
commitbfa90a3a9bcf80717d90544e5dc5ab3c78cf1a4f (patch)
treee31c514a470915159f5cb0ee59047a7305ad0c7e /chrome/common/extensions/extension.h
parent57d415a44e839a422c2957f272e32b141977d16b (diff)
downloadchromium_src-bfa90a3a9bcf80717d90544e5dc5ab3c78cf1a4f.zip
chromium_src-bfa90a3a9bcf80717d90544e5dc5ab3c78cf1a4f.tar.gz
chromium_src-bfa90a3a9bcf80717d90544e5dc5ab3c78cf1a4f.tar.bz2
Reland: Link the name of the extension on the management page to the
gallery page, if the extension is from the gallery. BUG=29739 TEST=Install a gallery extension and a third-party extension and make sure the gallery extension name is a link (whereas the third party extension name is static text). Review URL: http://codereview.chromium.org/1780009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45807 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 f3b4ff3..f8dcd9b 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -276,6 +276,10 @@ class Extension {
const GURL& update_url() const { return update_url_; }
const std::map<int, std::string>& icons() const { return icons_; }
+ // Returns the Google Gallery URL for this extension, if one exists. For
+ // third-party extensions, this returns a blank GURL.
+ GURL GalleryUrl() const;
+
// Theme-related.
DictionaryValue* GetThemeImages() const { return theme_images_.get(); }
DictionaryValue* GetThemeColors() const { return theme_colors_.get(); }