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

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 10575026: Add ProxyDecryptor which wraps concrete Decryptor implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revise on comments. Created 8 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
Index: webkit/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index c19e00650251e948868c24e6e66f41d8cf59c3f4..76313a925867b4ae13fc6540770d4ada34ff8f2d 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -79,6 +79,7 @@ class MediaLog;
namespace webkit_media {
class MediaStreamClient;
+class ProxyDecryptor;
class WebMediaPlayerDelegate;
class WebMediaPlayerProxy;
@@ -293,7 +294,11 @@ class WebMediaPlayerImpl
bool started_;
// The decryptor that manages decryption keys and decrypts encrypted frames.
- scoped_ptr<media::Decryptor> decryptor_;
+ scoped_ptr<webkit_media::ProxyDecryptor> decryptor_;
ddorwin 2012/06/27 04:00:08 This could just be a member - just initialize it i
xhwang 2012/06/27 21:41:26 Done.
+
+ // The currently selected key system. Empty string means that no key system
+ // has been selected.
+ WebKit::WebString current_key_system_;
scoped_ptr<media::MessageLoopFactory> message_loop_factory_;

Powered by Google App Engine
This is Rietveld 408576698