summaryrefslogtreecommitdiffstats
path: root/chromecast/renderer/key_systems_cast.h
blob: 36b21d5d045f8002a2bfc7e997940c17da8c82f1 (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
// 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.
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_