key_systems_cast.h revision 1320f92c476a1ad9d19dba2a48c72b75566198e9
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROMECAST_SHELL_RENDERER_KEY_SYSTEMS_CAST_H_
6#define CHROMECAST_SHELL_RENDERER_KEY_SYSTEMS_CAST_H_
7
8#include <vector>
9
10#include "content/public/renderer/key_system_info.h"
11
12namespace chromecast {
13namespace shell {
14
15// Adds a single key system by name.
16void AddKeySystemWithCodecs(
17    const std::string& key_system_name,
18    std::vector<content::KeySystemInfo>* concrete_key_systems);
19
20void AddChromecastKeySystems(
21    std::vector<content::KeySystemInfo>* key_systems_info);
22
23// TODO(gunsch): Remove when prefixed EME is removed.
24void AddChromecastPlatformKeySystems(
25    std::vector<content::KeySystemInfo>* key_systems_info);
26
27}  // namespace shell
28}  // namespace chromecast
29
30#endif  // CHROMECAST_SHELL_RENDERER_KEY_SYSTEMS_CAST_H_
31