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

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

Issue 750633003: Implement HasPermission() method in PermissionService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/content/browser/permissions/permission_service_impl.h b/content/browser/permissions/permission_service_impl.h
index c67ae88ef1d1fa3e5094a5ebcb99d7ee004a12de..a3887d8619cd3dbd450b6ecb54610f5d03f2f6cf 100644
--- a/content/browser/permissions/permission_service_impl.h
+++ b/content/browser/permissions/permission_service_impl.h
@@ -60,6 +60,10 @@ class PermissionServiceImpl : public mojo::InterfaceImpl<PermissionService> {
int request_id,
bool allowed);
+ void OnHasPermissionResponse(
+ const mojo::Callback<void(PermissionStatus)>& callback,
+ bool allowed);
+
RequestsMap pending_requests_;
// context_ owns |this|.
PermissionServiceContext* context_;

Powered by Google App Engine
This is Rietveld 408576698