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

Unified Diff: content/renderer/media/crypto/proxy_media_keys.h

Issue 665563002: Add MediaKeys::GetCdmId(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Make GetCdmId() pure virtual. Created 6 years, 2 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 | « content/renderer/media/crypto/proxy_decryptor.cc ('k') | content/renderer/media/crypto/proxy_media_keys.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/crypto/proxy_media_keys.h
diff --git a/content/renderer/media/crypto/proxy_media_keys.h b/content/renderer/media/crypto/proxy_media_keys.h
index bb08a5f7aaba31bc16728f342de691daf22271c5..6b4df648276dede03a675053766b5851502b414a 100644
--- a/content/renderer/media/crypto/proxy_media_keys.h
+++ b/content/renderer/media/crypto/proxy_media_keys.h
@@ -64,6 +64,7 @@ class ProxyMediaKeys : public media::MediaKeys {
virtual void GetUsableKeyIds(
const std::string& web_session_id,
scoped_ptr<media::KeyIdsPromise> promise) override;
+ virtual int GetCdmId() const override;
// Callbacks.
void OnSessionCreated(uint32 session_id, const std::string& web_session_id);
@@ -76,8 +77,6 @@ class ProxyMediaKeys : public media::MediaKeys {
media::MediaKeys::KeyError error_code,
uint32 system_code);
- int GetCdmId() const;
-
private:
// The Android-specific code that handles sessions uses integer session ids
// (basically a reference id), but media::MediaKeys bases everything on
« no previous file with comments | « content/renderer/media/crypto/proxy_decryptor.cc ('k') | content/renderer/media/crypto/proxy_media_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698