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

Unified Diff: content/renderer/media/android/proxy_media_keys.cc

Issue 185993004: Encrypted Media: Confine UUID code to MediaDrmBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 9 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: content/renderer/media/android/proxy_media_keys.cc
diff --git a/content/renderer/media/android/proxy_media_keys.cc b/content/renderer/media/android/proxy_media_keys.cc
index 5510950d2dcdce25dc1814abad287d8e79be58d9..9734e815e785ab7963e77947edfa159ec00d8c89 100644
--- a/content/renderer/media/android/proxy_media_keys.cc
+++ b/content/renderer/media/android/proxy_media_keys.cc
@@ -37,13 +37,7 @@ ProxyMediaKeys::~ProxyMediaKeys() {
void ProxyMediaKeys::InitializeCdm(const std::string& key_system,
const GURL& frame_url) {
-#if defined(ENABLE_PEPPER_CDMS)
- NOTIMPLEMENTED();
-#elif defined(OS_ANDROID)
- std::vector<uint8> uuid = GetUUID(key_system);
- DCHECK(!uuid.empty());
- manager_->InitializeCdm(cdm_id_, this, uuid, frame_url);
-#endif
+ manager_->InitializeCdm(cdm_id_, this, key_system, frame_url);
}
bool ProxyMediaKeys::CreateSession(uint32 session_id,
« no previous file with comments | « content/public/renderer/key_system_info.h ('k') | content/renderer/media/android/renderer_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698