Index: chrome/common/extensions/extension_constants.h |
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h |
index 9566f17952f28875d5bef2fad2a3f337f7fbf028..fb723f2cdee61cad5ae6053084b7cedaa1baec1d 100644 |
--- a/chrome/common/extensions/extension_constants.h |
+++ b/chrome/common/extensions/extension_constants.h |
@@ -34,6 +34,16 @@ namespace extension_urls { |
// 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 |
James Cook
2013/05/20 14:39:34
nit: json -> JSON
xiyuan
2013/05/20 16:56:31
Done.
|
+ // 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. |
+ GURL GetWebstoreJsonSearchUrl(const std::string& query, |
+ const std::string& hl); |
James Cook
2013/05/20 14:39:34
Document "hl"
xiyuan
2013/05/20 16:56:31
Done.
|
+ |
+ // 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. |
GURL GetWebstoreUpdateUrl(); |