summaryrefslogtreecommitdiffstats
path: root/chromecast/renderer/key_systems_cast.h
blob: c64eb1db708c77128773b93ed894e65758a6618e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 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 CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
#define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_

#include <vector>

#include "media/base/key_system_info.h"

namespace chromecast {
namespace shell {

// Adds a single key system by name.
// TODO(gunsch): modify this API to accept specifying different supported
// features, and/or APIs per key system type.
void AddKeySystemWithCodecs(
    const std::string& key_system_name,
    std::vector<::media::KeySystemInfo>* concrete_key_systems);

void AddChromecastKeySystems(
    std::vector<::media::KeySystemInfo>* key_systems_info);

// TODO(gunsch): Remove when prefixed EME is removed.
void AddChromecastPlatformKeySystems(
    std::vector<::media::KeySystemInfo>* key_systems_info);

}  // namespace shell
}  // namespace chromecast

#endif  // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_