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

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

Issue 10446027: Force update checks to use SSL for store-hosted extensions/apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for review Created 8 years, 7 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_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 2f76b4fbc95116d81751399f2e261ee08e33cfac..49888d33db5d3c435f265a3cccb6122fb5c71ec1 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -31,12 +31,11 @@ namespace extension_urls {
// etc.) about an extension from the webstore as JSON.
GURL GetWebstoreItemJsonDataURL(const std::string& extension_id);
- // Return the update URL used by gallery/webstore extensions/apps. The
- // |secure| parameter will be ignored if the update URL is overriden with
- // --apps-gallery-update-url.
- GURL GetWebstoreUpdateUrl(bool secure);
+ // Return the update URL used by gallery/webstore extensions/apps.
+ GURL GetWebstoreUpdateUrl();
- // Returns whether the URL is the webstore update URL (secure or not).
+ // 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.

Powered by Google App Engine
This is Rietveld 408576698