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

Side by Side Diff: ppapi/proxy/ppp_content_decryptor_private_proxy.h

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments with the exception of renaming Deinit 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
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 OnMsgInitializeVideoDecoder( 45 void OnMsgInitializeVideoDecoder(
46 PP_Instance instance, 46 PP_Instance instance,
47 const std::string& decoder_config, 47 const std::string& decoder_config,
48 const PPPDecryptor_Buffer& extra_data_buffer); 48 const PPPDecryptor_Buffer& extra_data_buffer);
49 void OnMsgDeinitializeDecoder(PP_Instance instance,
50 PP_DecryptorStreamType decoder_type,
51 uint32_t request_id);
52 void OnMsgResetDecoder(PP_Instance instance,
53 PP_DecryptorStreamType decoder_type,
54 uint32_t request_id);
49 void OnMsgDecryptAndDecodeFrame( 55 void OnMsgDecryptAndDecodeFrame(
50 PP_Instance instance, 56 PP_Instance instance,
51 const PPPDecryptor_Buffer& encrypted_frame, 57 const PPPDecryptor_Buffer& encrypted_frame,
52 const std::string& serialized_encrypted_frame_info); 58 const std::string& serialized_encrypted_frame_info);
53 59
54 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; 60 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_;
55 61
56 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); 62 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy);
57 }; 63 };
58 64
59 } // namespace proxy 65 } // namespace proxy
60 } // namespace ppapi 66 } // namespace ppapi
61 67
62 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 68 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698