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

Unified Diff: chrome/browser/notifications/notification_permission_infobar_delegate.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/notifications/notification_permission_infobar_delegate.h
diff --git a/chrome/browser/notifications/notification_permission_infobar_delegate.h b/chrome/browser/notifications/notification_permission_infobar_delegate.h
index 7bd72ce532551cbadcb57139cbd437070b360f4b..4e63e94993cea6c34ab3f15b4a91a22321cb828e 100644
--- a/chrome/browser/notifications/notification_permission_infobar_delegate.h
+++ b/chrome/browser/notifications/notification_permission_infobar_delegate.h
@@ -15,14 +15,15 @@ class NotificationPermissionInfobarDelegate : public PermissionInfobarDelegate {
// Creates a Notification permission infobar and delegate and adds the
// infobar to |infobar_service|. Returns the infobar if it was successfully
// added.
- static infobars::InfoBar* Create(
- InfoBarService* infobar_service,
- const GURL& requesting_frame,
- const PermissionSetCallback& callback);
+ static infobars::InfoBar* Create(InfoBarService* infobar_service,
+ const GURL& requesting_frame,
+ Profile* profile,
+ const PermissionSetCallback& callback);
+
private:
- NotificationPermissionInfobarDelegate(
- const GURL& requesting_frame,
- const PermissionSetCallback& callback);
+ NotificationPermissionInfobarDelegate(const GURL& requesting_frame,
+ Profile* profile,
+ const PermissionSetCallback& callback);
~NotificationPermissionInfobarDelegate() override;
// PermissionInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698