Service Worker: Start coalescing SWVersion's timers.
[chromium-blink-merge.git] / chromecast / renderer / key_systems_cast.h
blobc64eb1db708c77128773b93ed894e65758a6618e
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.
5 #ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
6 #define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
8 #include <vector>
10 #include "media/base/key_system_info.h"
12 namespace chromecast {
13 namespace shell {
15 // Adds a single key system by name.
16 // TODO(gunsch): modify this API to accept specifying different supported
17 // features, and/or APIs per key system type.
18 void AddKeySystemWithCodecs(
19 const std::string& key_system_name,
20 std::vector<::media::KeySystemInfo>* concrete_key_systems);
22 void AddChromecastKeySystems(
23 std::vector<::media::KeySystemInfo>* key_systems_info);
25 // TODO(gunsch): Remove when prefixed EME is removed.
26 void AddChromecastPlatformKeySystems(
27 std::vector<::media::KeySystemInfo>* key_systems_info);
29 } // namespace shell
30 } // namespace chromecast
32 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_