summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_urls.cc
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2015-03-19 20:55:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-20 03:55:59 +0000
commitf3af70d59497812619a1058a5a6848a5c16e1236 (patch)
treec49647ee6a6a4a1a0171dce2220197a7500f5598 /extensions/common/extension_urls.cc
parent2a83ad3c5cc6de1aaf87652a2cf0143e8b969638 (diff)
downloadchromium_src-f3af70d59497812619a1058a5a6848a5c16e1236.zip
chromium_src-f3af70d59497812619a1058a5a6848a5c16e1236.tar.gz
chromium_src-f3af70d59497812619a1058a5a6848a5c16e1236.tar.bz2
[Extensions] Add support for reporting abuse on extension uninstallation
Add capability for having a "Report abuse" checkbox on the extension uninstall dialog. Currently, don't show this until we have the field trial specifications worked out. BUG=441377 Review URL: https://codereview.chromium.org/1010953002 Cr-Commit-Position: refs/heads/master@{#321512}
Diffstat (limited to 'extensions/common/extension_urls.cc')
-rw-r--r--extensions/common/extension_urls.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/extension_urls.cc b/extensions/common/extension_urls.cc
index c58a2d6..eeb1798 100644
--- a/extensions/common/extension_urls.cc
+++ b/extensions/common/extension_urls.cc
@@ -72,6 +72,10 @@ GURL GetWebstoreUpdateUrl() {
return GURL(kChromeWebstoreUpdateURL);
}
+GURL GetWebstoreReportAbuseUrl(const std::string& extension_id) {
+ return GURL(GetWebstoreLaunchURL() + "/report/" + extension_id);
+}
+
bool IsWebstoreUpdateUrl(const GURL& update_url) {
GURL store_url = GetWebstoreUpdateUrl();
if (update_url == store_url) {