Index: content_decryption_module.h |
diff --git a/content_decryption_module.h b/content_decryption_module.h |
index ab9fe1bbae6e6ef8be929364820b135db1165152..827cc331a2b89d4d7c0b6d2b77244e71a6adba90 100644 |
--- a/content_decryption_module.h |
+++ b/content_decryption_module.h |
@@ -1031,6 +1031,17 @@ class Host_7 { |
virtual void OnSessionClosed(const char* session_id, |
uint32_t session_id_size) = 0; |
+ // Called by the CDM when an error occurs in session |session_id| |
+ // unrelated to one of the ContentDecryptionModule calls that accept a |
+ // |promise_id|. |error| must be specified, |error_message| and |
+ // |system_code| are optional. Length parameters should not include null |
+ // termination. This method is only for supporting legacy prefixed API. |
ddorwin
2015/01/08 03:09:32
nit suggestions:
* New line for last method.
* "..
xhwang
2015/01/08 03:54:53
Done.
|
+ virtual void OnLegacySessionError( |
+ const char* session_id, uint32_t session_id_length, |
+ Error error, |
+ uint32_t system_code, |
+ const char* error_message, uint32_t error_message_length) = 0; |
+ |
// The following are optional methods that may not be implemented on all |
// platforms. |