summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_constants.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/extension_constants.cc')
-rw-r--r--chrome/common/extensions/extension_constants.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 297c3c1..e37b6de 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -9,7 +9,6 @@
#include "base/command_line.h"
#include "base/string_util.h"
#include "chrome/common/chrome_switches.h"
-#include "net/base/escape.h"
namespace extension_manifest_keys {
@@ -461,21 +460,6 @@ GURL GetWebstoreUpdateUrl(bool secure) {
return GURL(secure ? kGalleryUpdateHttpsUrl : kGalleryUpdateHttpUrl);
}
-GURL GetWebstoreInstallUrl(const std::string& extension_id,
- const std::string& locale) {
- std::vector<std::string> params;
- params.push_back("id=" + extension_id);
- params.push_back("lang=" + locale);
- params.push_back("uc");
- std::string url_string = extension_urls::GetWebstoreUpdateUrl(true).spec();
-
- GURL url(url_string + "?response=redirect&x=" +
- net::EscapeQueryParamValue(JoinString(params, '&'), true));
- DCHECK(url.is_valid());
-
- return url;
-}
-
const char* kGalleryBrowsePrefix = "https://chrome.google.com/webstore";
const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";