#include "components/permissions/contexts/midi_permission_context.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/permissions/permissions_client.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom.h"
namespace permissions {
MidiPermissionContext::MidiPermissionContext(
content::BrowserContext* browser_context)
: … { … }
MidiPermissionContext::~MidiPermissionContext() = default;
ContentSetting MidiPermissionContext::GetPermissionStatusInternal(
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
const GURL& embedding_origin) const { … }
}