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

Unified Diff: content/child/permissions/permission_dispatcher.cc

Issue 1164073005: Allow script to request durable storage permission (chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix conflicts after midi constant permission landed Created 5 years, 4 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
« no previous file with comments | « content/browser/permissions/permission_service_impl.cc ('k') | content/common/permission_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/permissions/permission_dispatcher.cc
diff --git a/content/child/permissions/permission_dispatcher.cc b/content/child/permissions/permission_dispatcher.cc
index afa829d723eb7d7f8d3cfb1b8ca39100523ec74b..552d2fda35ebb1e3acd9d1e32ece4455e1fcdb8a 100644
--- a/content/child/permissions/permission_dispatcher.cc
+++ b/content/child/permissions/permission_dispatcher.cc
@@ -27,6 +27,8 @@ PermissionName GetPermissionName(blink::WebPermissionType type) {
return PERMISSION_NAME_PUSH_NOTIFICATIONS;
case blink::WebPermissionTypeMidiSysEx:
return PERMISSION_NAME_MIDI_SYSEX;
+ case blink::WebPermissionTypeDurableStorage:
+ return PERMISSION_NAME_DURABLE_STORAGE;
case blink::WebPermissionTypeMidi:
return PERMISSION_NAME_MIDI;
default:
« no previous file with comments | « content/browser/permissions/permission_service_impl.cc ('k') | content/common/permission_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698