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_; |