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

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

Issue 2250993002: Add prior dismissal and ignore count metrics for all permission actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kendra-permission-action-reporting
Patch Set: Comments Created 4 years, 4 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_decision_auto_blocker.h
diff --git a/chrome/browser/permissions/permission_decision_auto_blocker.h b/chrome/browser/permissions/permission_decision_auto_blocker.h
index 6f65f4a8102d180ee41be2a322f0c887a41a72c3..43d863f4eb2f8eb870de5128257dc71e611da64f 100644
--- a/chrome/browser/permissions/permission_decision_auto_blocker.h
+++ b/chrome/browser/permissions/permission_decision_auto_blocker.h
@@ -48,20 +48,6 @@ class PermissionDecisionAutoBlocker {
static const char kPromptDismissCountKey[];
static const char kPromptIgnoreCountKey[];
- // Returns the current number of actions recorded under |key| for |permission|
- // type at |url|.
- static int GetActionCount(const GURL& url,
- content::PermissionType permission,
- const char* key,
- Profile* profile);
-
- // Records that the user performed an action for a prompt of type |permission|
- // on |url| to a website setting keyed by |key|. Returns the total number of
- // |key| actions which have been performed for |url|.
- int RecordActionInWebsiteSettings(const GURL& url,
- content::PermissionType permission,
- const char* key);
-
// Updates |prompt_dismissals_before_block_|.
void UpdateFromVariations();

Powered by Google App Engine
This is Rietveld 408576698