diff options
author | rdevlin.cronin <rdevlin.cronin@chromium.org> | 2015-03-19 20:55:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-20 03:55:59 +0000 |
commit | f3af70d59497812619a1058a5a6848a5c16e1236 (patch) | |
tree | c49647ee6a6a4a1a0171dce2220197a7500f5598 /extensions/common/extension_urls.h | |
parent | 2a83ad3c5cc6de1aaf87652a2cf0143e8b969638 (diff) | |
download | chromium_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.h | 3 |
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); |