Index: public/platform/WebMediaPlayerClient.h |
diff --git a/public/platform/WebMediaPlayerClient.h b/public/platform/WebMediaPlayerClient.h |
index d86108ca0fd925a12f51ad944cba488751bfac6b..b7195be7e6c39331e33e8358ffb38f8a4bb7b093 100644 |
--- a/public/platform/WebMediaPlayerClient.h |
+++ b/public/platform/WebMediaPlayerClient.h |
@@ -67,7 +67,12 @@ public: |
virtual void keyAdded(const WebString& keySystem, const WebString& sessionId) = 0; |
virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, unsigned short systemCode) = 0; |
virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned char* message, unsigned messageLength, const WebURL& defaultURL) = 0; |
- virtual void keyNeeded(const WebString& keySystem, const WebString& sessionId, const unsigned char* initData, unsigned initDataLength) = 0; |
+ virtual void keyNeeded(const WebString& keySystem, const WebString& sessionId, const unsigned char* initData, unsigned initDataLength) |
+ { |
+ // FIXME: remove after callers change to pass contentType. |
ddorwin
2014/01/13 19:17:49
Should be above 70, right?
acolwell GONE FROM CHROMIUM
2014/01/13 19:19:39
nit: Move FIXME to above method and s/remove/Remov
jrummell
2014/01/13 22:43:44
Done.
jrummell
2014/01/13 22:43:44
Done.
|
+ keyNeeded(WebString(), initData, initDataLength); |
+ } |
+ virtual void keyNeeded(const WebString& contentType, const unsigned char* initData, unsigned initDataLength) = 0; |
// The returned pointer is valid until closeHelperPlugin() is called. |
// Returns 0 if the plugin could not be instantiated. |
virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*) = 0; |