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

Unified Diff: chromecast/renderer/key_systems_cast.h

Issue 1926533002: Convert Widevine and Android platform key systems to KeySystemProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/renderer/key_systems_cast.h
diff --git a/chromecast/renderer/key_systems_cast.h b/chromecast/renderer/key_systems_cast.h
index d59993f131d4cfc97114fdfc8906e32586d25c7c..158518f81b45c6dd396d6156d56c32492c7efd72 100644
--- a/chromecast/renderer/key_systems_cast.h
+++ b/chromecast/renderer/key_systems_cast.h
@@ -5,21 +5,20 @@
#ifndef CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
#define CHROMECAST_RENDERER_KEY_SYSTEMS_CAST_H_
+#include <memory>
#include <vector>
#include "media/base/key_system_info.h"
+#include "media/base/key_system_properties.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<std::unique_ptr<::media::KeySystemProperties>>*
+ key_systems_properties);
+
+void AddChromecastKeySystemsInfo(
std::vector<::media::KeySystemInfo>* key_systems_info);
} // namespace shell

Powered by Google App Engine
This is Rietveld 408576698