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

Unified Diff: components/cdm/common/cdm_messages_android.h

Issue 320383005: Add an IPC to return the platform supported key-system names in Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed xhwang's comments. Created 6 years, 6 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 | « components/cdm/browser/cdm_message_filter_android.cc ('k') | components/cdm/renderer/android_key_systems.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cdm/common/cdm_messages_android.h
diff --git a/components/cdm/common/cdm_messages_android.h b/components/cdm/common/cdm_messages_android.h
index e63f81b01cd8f9386da3ad1da8154cf2a0b98cda..f78674d73664d2b038291c83f4a91746714ce04d 100644
--- a/components/cdm/common/cdm_messages_android.h
+++ b/components/cdm/common/cdm_messages_android.h
@@ -29,8 +29,15 @@ IPC_STRUCT_END()
// Messages sent from the renderer to the browser.
-// Synchronously get a list of supported EME key systems.
+// Synchronously query key system information. If the key system is supported,
+// the response will be populated.
IPC_SYNC_MESSAGE_CONTROL1_1(
- ChromeViewHostMsg_GetSupportedKeySystems,
+ ChromeViewHostMsg_QueryKeySystemSupport,
SupportedKeySystemRequest /* key system information request */,
SupportedKeySystemResponse /* key system information response */)
+
+// Synchronously get a list of platform-supported EME key system names that
+// are not explicitly handled by Chrome.
+IPC_SYNC_MESSAGE_CONTROL0_1(
+ ChromeViewHostMsg_GetPlatformKeySystemNames,
+ std::vector<std::string> /* key system names */)
« no previous file with comments | « components/cdm/browser/cdm_message_filter_android.cc ('k') | components/cdm/renderer/android_key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698