summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_urls.h
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.h
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.h')
-rw-r--r--extensions/common/extension_urls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/extension_urls.h b/extensions/common/extension_urls.h
index 2440a83..c651fcf 100644
--- a/extensions/common/extension_urls.h
+++ b/extensions/common/extension_urls.h
@@ -70,6 +70,9 @@ GURL GetWebstoreSearchPageUrl(const std::string& query);
// have been overridden by a command line flag for testing purposes.
GURL GetWebstoreUpdateUrl();
+// Returns the url to visit to report abuse for the given |extension_id|.
+GURL GetWebstoreReportAbuseUrl(const std::string& extension_id);
+
// Returns whether the URL is the webstore update URL (just considering host
// and path, not scheme, query, etc.)
bool IsWebstoreUpdateUrl(const GURL& update_url);