Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: chrome/common/extensions/extension.h

Issue 7621032: Initial inline web store install bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698