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

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 11313016: Add "type" in GenerateKeyRequest() and OnNeedKey(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index 385e030581dbcb72b77f8d677a404f15a7fa9b74..a1e61263fa87c979c2925f56505f912d3b12e118 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -245,6 +245,7 @@ class WebMediaPlayerImpl
int message_length,
const std::string& default_url);
void OnNeedKey(const std::string& key_system,
+ const std::string& type,
const std::string& session_id,
scoped_array<uint8> init_data,
int init_data_size);
@@ -364,6 +365,8 @@ class WebMediaPlayerImpl
scoped_refptr<media::ChunkDemuxer> chunk_demuxer_;
+ std::string init_data_type_;
ddorwin 2012/10/27 00:08:26 // Temporary for EME v0.1. Or something like that.
xhwang 2012/10/27 00:50:14 Done.
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698