summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/encryptedmedia/media_keys_get_status_for_policy.idl
blob: 15a6ca073ec19700a778f963a2697c4cf5c1f99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/WICG/media-capabilities/blob/master/eme-extension-policy-check.md

[
    ImplementedAs=MediaKeysGetStatusForPolicy,
    SecureContext
] partial interface MediaKeys {
    [Measure, CallWith=ScriptState] Promise<MediaKeyStatus> getStatusForPolicy(MediaKeysPolicy policy);
};