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

Unified Diff: chrome/browser/permissions/permission_uma_util.h

Issue 2047253002: Add hooks to permission layer for permission action reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-reporter-implementation
Patch Set: Remove a redundant include Created 4 years, 6 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: chrome/browser/permissions/permission_uma_util.h
diff --git a/chrome/browser/permissions/permission_uma_util.h b/chrome/browser/permissions/permission_uma_util.h
index f16361737f09855b8c60492354361cddbffb109f..827396c65433d1e79c7d62f674a0e6b020688663 100644
--- a/chrome/browser/permissions/permission_uma_util.h
+++ b/chrome/browser/permissions/permission_uma_util.h
@@ -51,15 +51,20 @@ class PermissionUmaUtil {
const GURL& embedding_origin,
Profile* profile);
static void PermissionGranted(content::PermissionType permission,
- const GURL& requesting_origin);
+ const GURL& requesting_origin,
+ Profile* profile);
static void PermissionDenied(content::PermissionType permission,
- const GURL& requesting_origin);
+ const GURL& requesting_origin,
+ Profile* profile);
static void PermissionDismissed(content::PermissionType permission,
- const GURL& requesting_origin);
+ const GURL& requesting_origin,
+ Profile* profile);
static void PermissionIgnored(content::PermissionType permission,
- const GURL& requesting_origin);
+ const GURL& requesting_origin,
+ Profile* profile);
static void PermissionRevoked(content::PermissionType permission,
- const GURL& revoked_origin);
+ const GURL& revoked_origin,
+ Profile* profile);
// UMA specifically for when permission prompts are shown. This should be
// roughly equivalent to the metrics above, however it is

Powered by Google App Engine
This is Rietveld 408576698