| Index: chrome/common/extensions/extension_constants.h
|
| diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
|
| index 8d4122ac78057eb6c9b89aa2dcfa91f907909fdd..94dda8bb80901e0be5e999148a51f5618da137f9 100644
|
| --- a/chrome/common/extensions/extension_constants.h
|
| +++ b/chrome/common/extensions/extension_constants.h
|
| @@ -12,53 +12,10 @@
|
|
|
| namespace extension_urls {
|
|
|
| -// 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.
|
| -std::string GetWebstoreLaunchURL();
|
| -
|
| -// Returns the URL to the extensions category on the Web Store. This is
|
| -// derived from GetWebstoreLaunchURL().
|
| -std::string GetExtensionGalleryURL();
|
| -
|
| -// 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.
|
| -std::string GetWebstoreItemDetailURLPrefix();
|
| -
|
| -// Returns the URL used to get webstore data (ratings, manifest, icon URL,
|
| -// etc.) about an extension from the webstore as JSON.
|
| -GURL GetWebstoreItemJsonDataURL(const std::string& extension_id);
|
| -
|
| -// Returns the URL used to get webstore search results in JSON format. The URL
|
| -// returns a JSON dictionary that has the search results (under "results").
|
| -// Each entry in the array is a dictionary as the data returned for
|
| -// GetWebstoreItemJsonDataURL above. |query| is the user typed query string.
|
| -// |hl| is the host language code, e.g. en_US. Both arguments will be escaped
|
| -// and added as a query parameter to the returned web store json search URL.
|
| -GURL GetWebstoreJsonSearchUrl(const std::string& query, const std::string& hl);
|
| -
|
| -// Returns the URL of the web store search results page for |query|.
|
| -GURL GetWebstoreSearchPageUrl(const std::string& query);
|
| -
|
| -// Return the update URL used by gallery/webstore extensions/apps. This may
|
| -// have been overridden by a command line flag for testing purposes.
|
| -GURL GetWebstoreUpdateUrl();
|
| -
|
| -// This returns the compile-time constant webstore update url. Usually you
|
| -// should prefer using GetWebstoreUpdateUrl.
|
| +// This returns the compile-time constant webstore update url specific to
|
| +// Chrome. Usually you should prefer using GetWebstoreUpdateUrl.
|
| GURL GetDefaultWebstoreUpdateUrl();
|
|
|
| -// Returns whether the URL is the webstore update URL (just considering host
|
| -// and path, not scheme, query, etc.)
|
| -bool IsWebstoreUpdateUrl(const GURL& update_url);
|
| -
|
| -// Returns true if the URL points to an extension blacklist.
|
| -bool IsBlacklistUpdateUrl(const GURL& url);
|
| -// The greatest common prefixes of the main extensions gallery's browse and
|
| -// download URLs.
|
| -extern const char kGalleryBrowsePrefix[];
|
| -
|
| // Field to use with webstore URL for tracking launch source.
|
| extern const char kWebstoreSourceField[];
|
|
|
|
|