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

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

Issue 2069343002: Pass profile to PermissionUmaUtil::PermissionIgnored (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-hooks-to-permission-layer
Patch Set: Rebase Created 4 years, 5 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_bubble_request_impl.h
diff --git a/chrome/browser/permissions/permission_bubble_request_impl.h b/chrome/browser/permissions/permission_bubble_request_impl.h
index 7eb40659bea282be3c102b8c9cf78cfbbdf07eba..c78cd0785fff3dab3f7a83651bf5f7b581312961 100644
--- a/chrome/browser/permissions/permission_bubble_request_impl.h
+++ b/chrome/browser/permissions/permission_bubble_request_impl.h
@@ -14,6 +14,7 @@
class GURL;
class PermissionContextBase;
+class Profile;
// Default implementation of PermissionBubbleRequest, it is assumed that the
// caller owns it and that it can be deleted once the |delete_callback|
@@ -25,6 +26,7 @@ class PermissionBubbleRequestImpl : public PermissionBubbleRequest {
PermissionBubbleRequestImpl(
const GURL& request_origin,
content::PermissionType permission_type,
+ Profile* profile,
const PermissionDecidedCallback& permission_decided_callback,
const base::Closure delete_callback);
@@ -49,6 +51,7 @@ class PermissionBubbleRequestImpl : public PermissionBubbleRequest {
GURL request_origin_;
content::PermissionType permission_type_;
+ Profile* profile_;
// Called once a decision is made about the permission.
const PermissionDecidedCallback permission_decided_callback_;

Powered by Google App Engine
This is Rietveld 408576698