Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: extensions/common/extension_urls.cc

Issue 1010953002: [Extensions] Add support for reporting abuse on extension uninstallation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/extension_urls.cc
diff --git a/extensions/common/extension_urls.cc b/extensions/common/extension_urls.cc
index c58a2d648c94eff3608ba7a2e71bdf4f870a3403..eeb17989d1da18cd09b186a447011660c9897c91 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) {
« chrome/browser/extensions/extension_uninstall_dialog.cc ('K') | « extensions/common/extension_urls.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698