| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ | 6 #define PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 SerializedVarReceiveInput init_data); | 35 SerializedVarReceiveInput init_data); |
| 36 void OnMsgAddKey(PP_Instance instance, | 36 void OnMsgAddKey(PP_Instance instance, |
| 37 SerializedVarReceiveInput session_id, | 37 SerializedVarReceiveInput session_id, |
| 38 SerializedVarReceiveInput key, | 38 SerializedVarReceiveInput key, |
| 39 SerializedVarReceiveInput init_data); | 39 SerializedVarReceiveInput init_data); |
| 40 void OnMsgCancelKeyRequest(PP_Instance instance, | 40 void OnMsgCancelKeyRequest(PP_Instance instance, |
| 41 SerializedVarReceiveInput session_id); | 41 SerializedVarReceiveInput session_id); |
| 42 void OnMsgDecrypt(PP_Instance instance, | 42 void OnMsgDecrypt(PP_Instance instance, |
| 43 const PPPDecryptor_Buffer& encrypted_buffer, | 43 const PPPDecryptor_Buffer& encrypted_buffer, |
| 44 const std::string& serialized_encrypted_block_info); | 44 const std::string& serialized_encrypted_block_info); |
| 45 void OnMsgDeinitializeDecoder(PP_Instance instance, |
| 46 PP_StreamType decoder_type, |
| 47 uint32_t request_id); |
| 48 void OnMsgResetDecoder(PP_Instance instance, |
| 49 PP_StreamType decoder_type, |
| 50 uint32_t request_id); |
| 45 void OnMsgDecryptAndDecodeFrame( | 51 void OnMsgDecryptAndDecodeFrame( |
| 46 PP_Instance instance, | 52 PP_Instance instance, |
| 47 const PPPDecryptor_Buffer& encrypted_frame, | 53 const PPPDecryptor_Buffer& encrypted_frame, |
| 48 const std::string& serialized_encrypted_frame_info); | 54 const std::string& serialized_encrypted_frame_info); |
| 49 | 55 |
| 50 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; | 56 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; |
| 51 | 57 |
| 52 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); | 58 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); |
| 53 }; | 59 }; |
| 54 | 60 |
| 55 } // namespace proxy | 61 } // namespace proxy |
| 56 } // namespace ppapi | 62 } // namespace ppapi |
| 57 | 63 |
| 58 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ | 64 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ |
| OLD | NEW |