5#ifndef MOLYBDEN_PERMISSIONS_HPP
6#define MOLYBDEN_PERMISSIONS_HPP
10#include "molybden/permission/permissions_delegates.hpp"
19enum class PermissionType {
29 kProtectedMediaIdentifier,
46 kClipboardSanitizedWrite,
57enum class PermissionStatus { kGranted, kDenied, kAsk };
71 virtual std::shared_ptr<Profile>
profile() = 0;
77 const std::string& url) = 0;
83 const std::string& url) = 0;
A class that contains all permission delegates.
Definition permissions_delegates.hpp:71
Allows managing permissions for secure web pages.
Definition permissions.hpp:66
virtual std::shared_ptr< Profile > profile()=0
The profile of this service.
virtual void resetPermission(PermissionType permission_type, const std::string &url)=0
Sets the permission back to its default for the given URL.
virtual PermissionStatus getPermissionStatus(PermissionType permission_type, const std::string &url)=0
Returns the permission status for the given URL.