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

Unified Diff: content/common/permission_service.mojom

Issue 750633003: Implement HasPermission() method in PermissionService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed comments, switched to use BrowserContext, passing PermissionStatus in callback 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/common/permission_service.mojom
diff --git a/content/common/permission_service.mojom b/content/common/permission_service.mojom
index a5734aaac68daf15eb2d24b2da4da4b1e8a4fb50..7871f8b4222d43f599c879965668950eac0172b6 100644
--- a/content/common/permission_service.mojom
+++ b/content/common/permission_service.mojom
@@ -4,11 +4,7 @@
module content;
-enum PermissionStatus {
- GRANTED,
- DENIED,
- ASK
-};
+import "content/public/common/permission_status.mojom";
enum PermissionName {
GEOLOCATION,

Powered by Google App Engine
This is Rietveld 408576698