blob: ab6f3c69272a964b6e522dcf7f0d3f89f0e6fe80 [file] [log] [blame]
// 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.
#include "modules/encryptedmedia/MediaKeysGetStatusForPolicy.h"
#include "bindings/core/v8/ScriptPromise.h"
#include "modules/encryptedmedia/MediaKeys.h"
#include "modules/encryptedmedia/MediaKeysPolicy.h"
#include "platform/bindings/ScriptState.h"
namespace blink {
ScriptPromise MediaKeysGetStatusForPolicy::getStatusForPolicy(
ScriptState* script_state,
MediaKeys& media_keys,
const MediaKeysPolicy& media_keys_policy) {
DVLOG(1) << __func__;
return media_keys.getStatusForPolicy(script_state, media_keys_policy);
}
} // namespace blink