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

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

Issue 2386193004: Make all PermissionDecisionAutoBlocker methods static. (Closed)
Patch Set: Address comments Created 4 years, 2 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
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_uma_util.cc
diff --git a/chrome/browser/permissions/permission_uma_util.cc b/chrome/browser/permissions/permission_uma_util.cc
index c153206246b955b3252132f9da9d3afd2560b920..e8369c9c56f48f16eec70558df53da0d7fc66062 100644
--- a/chrome/browser/permissions/permission_uma_util.cc
+++ b/chrome/browser/permissions/permission_uma_util.cc
@@ -331,8 +331,8 @@ void PermissionUmaUtil::PermissionIgnored(
// RecordPermission* methods need to be called before RecordIgnore in the
// blocker because they record the number of prior ignore and dismiss values,
// and we don't want to include the current ignore.
- PermissionDecisionAutoBlocker(profile).RecordIgnore(requesting_origin,
- permission);
+ PermissionDecisionAutoBlocker::RecordIgnore(requesting_origin, permission,
+ profile);
}
void PermissionUmaUtil::PermissionRevoked(PermissionType permission,
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698