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) { |