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

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

Issue 2493053002: [extensions] Stop parsing webstore urls so much (Closed)
Patch Set: still need to check cmd line every time :( Created 4 years, 1 month 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 4e6df3c83a1e91b0ba21391e13712fe417cd096a..fc412ba60e70392295408b3dd9ca0d537ebb9ad1 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -15,8 +15,8 @@ const char kGalleryUpdateHttpsUrl[] =
} // namespace
-GURL GetDefaultWebstoreUpdateUrl() {
- return GURL(kGalleryUpdateHttpsUrl);
+std::string GetDefaultWebstoreUpdateUrl() {
Devlin 2016/11/11 23:11:31 Why std::string instead of const char*? Most call
Charlie Harrison 2016/11/12 02:24:34 Good catch. Done.
+ return kGalleryUpdateHttpsUrl;
}
const char kWebstoreSourceField[] = "utm_source";

Powered by Google App Engine
This is Rietveld 408576698