From de23cacc840c6c184c67d30de9ff07f7c4f71307 Mon Sep 17 00:00:00 2001 From: "rdevlin.cronin" Date: Wed, 15 Jul 2015 16:51:39 -0700 Subject: [Extensions] Add a referrer to the url for reporting extension abuse Add a referrer to the url that we use to report abuse from the extension uninstall dialog so that we can track its usage separately. BUG=510618 Review URL: https://codereview.chromium.org/1237313003 Cr-Commit-Position: refs/heads/master@{#338950} --- extensions/common/extension_urls.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extensions/common/extension_urls.h') diff --git a/extensions/common/extension_urls.h b/extensions/common/extension_urls.h index c651fcf..2fd72c8 100644 --- a/extensions/common/extension_urls.h +++ b/extensions/common/extension_urls.h @@ -70,8 +70,10 @@ 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 the url to visit to report abuse for the given |extension_id| +// and |referrer_id|. +GURL GetWebstoreReportAbuseUrl(const std::string& extension_id, + const std::string& referrer_id); // Returns whether the URL is the webstore update URL (just considering host // and path, not scheme, query, etc.) -- cgit v1.1