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

Unified Diff: chrome/browser/notifications/desktop_notification_service.h

Issue 455004: Keep incognito notification preferences separate from regular ones, and don't... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/desktop_notification_service.h
===================================================================
--- chrome/browser/notifications/desktop_notification_service.h (revision 33305)
+++ chrome/browser/notifications/desktop_notification_service.h (working copy)
@@ -78,6 +78,9 @@
private:
void InitPrefs();
+ // Save a permission change to the profile.
+ void PersistPermissionChange(const GURL& origin, bool is_allowed);
+
// Returns a display name for an origin, to be used in permission infobar
// or on the frame of the notification toast. Different from the origin
// itself when dealing with extensions.

Powered by Google App Engine
This is Rietveld 408576698