#include "components/cast_receiver/browser/permissions_manager_impl.h"
#include "base/containers/contains.h"
#include "content/public/browser/web_contents.h"
namespace cast_receiver {
namespace {
const char kPermissionManagerUserDataKey[] = …;
}
PermissionsManager* PermissionsManager::GetInstance(
content::WebContents& web_contents) { … }
PermissionsManagerImpl* PermissionsManagerImpl::CreateInstance(
content::WebContents& web_contents,
std::string app_id) { … }
PermissionsManagerImpl::PermissionsManagerImpl(std::string app_id)
: … { … }
PermissionsManagerImpl::~PermissionsManagerImpl() = default;
void PermissionsManagerImpl::AddPermission(blink::PermissionType permission) { … }
void PermissionsManagerImpl::AddOrigin(url::Origin origin) { … }
const std::string& PermissionsManagerImpl::GetAppId() const { … }
blink::mojom::PermissionStatus PermissionsManagerImpl::GetPermissionStatus(
blink::PermissionType permission,
const GURL& url) const { … }
}