chromium/components/cast_receiver/browser/permissions_manager_impl.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Key in the WebContents's UserData where the singleton instance for this
// WebContents will be stored.
// TODO(crbug.com/1382897): Combine with other cast_receiver UserData.
const char kPermissionManagerUserDataKey[] =;

}  // namespace

// static
PermissionsManager* PermissionsManager::GetInstance(
    content::WebContents& web_contents) {}

// static
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 {}

}  // namespace cast_receiver