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

Unified Diff: content/browser/permissions/permission_service_impl.cc

Issue 758603002: Use Mojo Permission Service when requesting Notifications permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_geolocation_follow_up
Patch Set: fixes to pass tests Created 6 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: content/browser/permissions/permission_service_impl.cc
diff --git a/content/browser/permissions/permission_service_impl.cc b/content/browser/permissions/permission_service_impl.cc
index d353a4f21ac5be7be85a185d051e245f6754b6cc..12638e8c4ee1fa5c3bfe071e9829a0d82eba3c3d 100644
--- a/content/browser/permissions/permission_service_impl.cc
+++ b/content/browser/permissions/permission_service_impl.cc
@@ -16,6 +16,8 @@ PermissionType PermissionNameToPermissionType(PermissionName name) {
return PERMISSION_GEOLOCATION;
case PERMISSION_NAME_MIDI_SYSEX:
return PERMISSION_MIDI_SYSEX;
+ case PERMISSION_NAME_NOTIFICATIONS:
+ return PERMISSION_NOTIFICATIONS;
}
NOTREACHED();
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/child/notifications/notification_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698