Chromium Code Reviews| Index: chrome/common/extensions/extension.h |
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
| index d5801f53c0b270a6e61533bdc03f9dc5e695bb1c..5a3d32216356059c67b2c3e91f53a14796d1bcf7 100644 |
| --- a/chrome/common/extensions/extension.h |
| +++ b/chrome/common/extensions/extension.h |
| @@ -356,13 +356,18 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
| // Returns the base extension url for a given |extension_id|. |
| static GURL GetBaseURLFromExtensionId(const std::string& extension_id); |
| - // Returns the url prefix for the extension/apps gallery. Can be set via the |
| + // Returns the URL prefix for the extension/apps gallery. Can be set via the |
| // --apps-gallery-url switch. The URL returned will not contain a trailing |
| // slash. Do not use this as a prefix/extent for the store. Instead see |
| // ExtensionService::GetWebStoreApp or |
| // ExtensionService::IsDownloadFromGallery |
| static std::string ChromeStoreLaunchURL(); |
| + // Returns the URL prefix for an item in the extension/app gallery. This URL |
| + // will contain a trailing slash and should be concatenated with an item ID |
| + // to get the item detail URL. |
| + static std::string ChromeStoreItemDetailURLPrefix(); |
|
Aaron Boodman
2011/08/17 04:53:03
I realize ChromeStoreLaunchURL() is already an exa
Mihai Parparita -not on Chrome
2011/08/17 23:00:16
Moved to extension_constants and renamed to GetWeb
|
| + |
| // Adds an extension to the scripting whitelist. Used for testing only. |
| static void SetScriptingWhitelist(const ScriptingWhitelist& whitelist); |
| static const ScriptingWhitelist* GetScriptingWhitelist(); |