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

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

Issue 2884025: Disallow syncing of extensions with third-party update URLs or plugins. (Closed)
Patch Set: Tightened check Created 10 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
Index: chrome/common/extensions/extension_constants.cc
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 8bfa434cb08c50e95bb7cc47bd2f4e7aa647ffee..989d44980201d5f07c4d41359146edd9586981fd 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -263,8 +263,10 @@ namespace extension_urls {
const char* kGalleryBrowsePrefix = "https://chrome.google.com/extensions";
const char* kGalleryDownloadPrefix =
"https://clients2.googleusercontent.com/crx/download";
-const char* kGalleryUpdateURL =
+const char* kGalleryUpdateHttpUrl =
"http://clients2.google.com/service/update2/crx";
+const char* kGalleryUpdateHttpsUrl =
+ "https://clients2.google.com/service/update2/crx";
const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
}

Powered by Google App Engine
This is Rietveld 408576698