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

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

Issue 10833057: Re-apply CL's to force store-hosted extension update checks to use SSL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 4b7f35ad1383ad4269ca79d8b242d6f98328aeaf..71e7af085322800094d8409f064703de61b091c0 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -30,12 +30,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.
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698