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

Unified Diff: chrome/renderer/media/chrome_key_systems.h

Issue 1927953004: Reland of "Convert Widevine and Android platform key systems to KeySystemProperties" with fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/media/chrome_key_systems.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/chrome_key_systems.h
diff --git a/chrome/renderer/media/chrome_key_systems.h b/chrome/renderer/media/chrome_key_systems.h
index dfec84f3b39b2e1197c75c333e26ba5e08570ec7..ab1be5041ced22d35159298018c9a25b9bd69106 100644
--- a/chrome/renderer/media/chrome_key_systems.h
+++ b/chrome/renderer/media/chrome_key_systems.h
@@ -5,10 +5,23 @@
#ifndef CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_
#define CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_
+#include <memory>
#include <vector>
-#include "media/base/key_system_info.h"
+namespace media {
+struct KeySystemInfo;
+class KeySystemProperties;
+}
-void AddChromeKeySystems(std::vector<media::KeySystemInfo>* key_systems_info);
+// DEPRECATED: Register the key systems supported by populating
+// |key_systems_info|. TODO(halliwell): move all key systems to
+// KeySystemProperties API.
+void AddChromeKeySystemsInfo(
+ std::vector<media::KeySystemInfo>* key_systems_info);
+
+// Register the key systems supported by populating |key_systems_properties|.
+void AddChromeKeySystems(
+ std::vector<std::unique_ptr<media::KeySystemProperties>>*
+ key_systems_properties);
#endif // CHROME_RENDERER_MEDIA_CHROME_KEY_SYSTEMS_H_
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/media/chrome_key_systems.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698