blob: b92e36750e14fcc001ab40a4b52a170795b4d508 [file] [log] [blame]
// Copyright 2014 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.
#ifndef COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_
#define COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_
#include <memory>
#include <vector>
#include "components/cdm/common/cdm_messages_android.h"
#include "media/base/key_system_properties.h"
namespace cdm {
void AddAndroidWidevine(
std::vector<std::unique_ptr<media::KeySystemProperties>>*
concrete_key_systems);
// Add platform-supported key systems which are not explicitly handled
// by Chrome.
void AddAndroidPlatformKeySystems(
std::vector<std::unique_ptr<media::KeySystemProperties>>*
concrete_key_systems);
// Query key system property in browser process.
SupportedKeySystemResponse QueryKeySystemSupport(const std::string& key_system);
} // namespace cdm
#endif // COMPONENTS_CDM_RENDERER_ANDROID_KEY_SYSTEMS_H_