Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chromecast/renderer/key_systems_cast.h

Issue 1932893004: Revert of Convert Widevine and Android platform key systems to KeySystemProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ 5 #ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
6 #define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ 6 #define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
7 7
8 #include <memory>
9 #include <vector> 8 #include <vector>
10 9
11 #include "media/base/key_system_info.h" 10 #include "media/base/key_system_info.h"
12 #include "media/base/key_system_properties.h"
13 11
14 namespace chromecast { 12 namespace chromecast {
15 namespace shell { 13 namespace shell {
16 14
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);
21
17 void AddChromecastKeySystems( 22 void AddChromecastKeySystems(
18 std::vector<std::unique_ptr<::media::KeySystemProperties>>*
19 key_systems_properties);
20
21 void AddChromecastKeySystemsInfo(
22 std::vector<::media::KeySystemInfo>* key_systems_info); 23 std::vector<::media::KeySystemInfo>* key_systems_info);
23 24
24 } // namespace shell 25 } // namespace shell
25 } // namespace chromecast 26 } // namespace chromecast
26 27
27 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ 28 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
OLDNEW
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.cc ('k') | chromecast/renderer/key_systems_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698