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

Unified Diff: chrome/browser/permissions/permission_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: merge 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_request_impl.h
diff --git a/chrome/browser/permissions/permission_request_impl.h b/chrome/browser/permissions/permission_request_impl.h
index d0405adc347ffa8289c40302e91d9d110178ff6d..5b4d34c998e9c1e99daab5f2768466b26cb05df6 100644
--- a/chrome/browser/permissions/permission_request_impl.h
+++ b/chrome/browser/permissions/permission_request_impl.h
@@ -14,6 +14,7 @@
class GURL;
class PermissionContextBase;
+class Profile;
// Default implementation of PermissionRequest, it is assumed that the
// caller owns it and that it can be deleted once the |delete_callback|
@@ -25,6 +26,7 @@ class PermissionRequestImpl : public PermissionRequest {
PermissionRequestImpl(
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 PermissionRequestImpl : public PermissionRequest {
GURL request_origin_;
content::PermissionType permission_type_;
+ Profile* profile_;
// Called once a decision is made about the permission.
const PermissionDecidedCallback permission_decided_callback_;
« no previous file with comments | « chrome/browser/permissions/permission_queue_controller.cc ('k') | chrome/browser/permissions/permission_request_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698