blob: d62111a025f459d696cc5c03beed133e0751c5ba [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 <string>
#include <vector>
#include "content/common/content_export.h"
#include "media/mojo/interfaces/key_system_support.mojom.h"
namespace content {
// Determines if |key_system| is supported by calling into the browser.
// If it is supported, return true and |key_system_capability| is updated
// to match what |key_system| supports. If not supported, false is returned.
CONTENT_EXPORT bool IsKeySystemSupported(
const std::string& key_system,
media::mojom::KeySystemCapabilityPtr* key_system_capability);
} // namespace content