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

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

Issue 288273004: A bunch of remaining parts of extension content verification (Reland) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browser test Created 6 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
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | extensions/browser/computed_hashes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_constants.cc
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 66bded285f142f366d9bdbd584e3d71eb850dcd7..4d0956bd906bbd9fc93340cb14d509410d35435c 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -61,7 +61,11 @@ GURL GetWebstoreUpdateUrl() {
if (cmdline->HasSwitch(switches::kAppsGalleryUpdateURL))
return GURL(cmdline->GetSwitchValueASCII(switches::kAppsGalleryUpdateURL));
else
- return GURL(kGalleryUpdateHttpsUrl);
+ return GetDefaultWebstoreUpdateUrl();
+}
+
+GURL GetDefaultWebstoreUpdateUrl() {
+ return GURL(kGalleryUpdateHttpsUrl);
}
bool IsWebstoreUpdateUrl(const GURL& update_url) {
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | extensions/browser/computed_hashes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698