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

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

Issue 923283002: Implement checks for distinctiveIdentifier and persistentState in requestMediaKeySystemAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment for ECK Created 5 years, 10 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 <vector> 8 #include <vector>
9 9
10 #include "media/base/key_system_info.h" 10 #include "media/base/key_system_info.h"
11 11
12 namespace chromecast { 12 namespace chromecast {
13 namespace shell { 13 namespace shell {
14 14
15 // Adds a single key system by name.
16 void AddKeySystemWithCodecs(
17 const std::string& key_system_name,
18 std::vector< ::media::KeySystemInfo>* concrete_key_systems);
19
20 void AddChromecastKeySystems( 15 void AddChromecastKeySystems(
21 std::vector< ::media::KeySystemInfo>* key_systems_info); 16 std::vector<::media::KeySystemInfo>* key_systems_info);
22 17
23 // TODO(gunsch): Remove when prefixed EME is removed. 18 // TODO(gunsch): Remove when prefixed EME is removed.
24 void AddChromecastPlatformKeySystems( 19 void AddChromecastPlatformKeySystems(
25 std::vector< ::media::KeySystemInfo>* key_systems_info); 20 std::vector<::media::KeySystemInfo>* key_systems_info);
26 21
27 } // namespace shell 22 } // namespace shell
28 } // namespace chromecast 23 } // namespace chromecast
29 24
30 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_ 25 #endif // CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698