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

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

Issue 131653003: Support LoadSession() in MediaKeys and PPP_ContentDecryptor_Private interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 10 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
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 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 // InterfaceProxy implementation. 29 // InterfaceProxy implementation.
30 virtual bool OnMessageReceived(const IPC::Message& msg); 30 virtual bool OnMessageReceived(const IPC::Message& msg);
31 31
32 // Message handlers. 32 // Message handlers.
33 void OnMsgInitialize(PP_Instance instance, 33 void OnMsgInitialize(PP_Instance instance,
34 SerializedVarReceiveInput key_system); 34 SerializedVarReceiveInput key_system);
35 void OnMsgCreateSession(PP_Instance instance, 35 void OnMsgCreateSession(PP_Instance instance,
36 uint32_t session_id, 36 uint32_t session_id,
37 SerializedVarReceiveInput type, 37 SerializedVarReceiveInput content_type,
38 SerializedVarReceiveInput init_data); 38 SerializedVarReceiveInput init_data);
39 void OnMsgLoadSession(PP_Instance instance,
40 uint32_t session_id,
41 SerializedVarReceiveInput web_session_id);
39 void OnMsgUpdateSession(PP_Instance instance, 42 void OnMsgUpdateSession(PP_Instance instance,
40 uint32_t session_id, 43 uint32_t session_id,
41 SerializedVarReceiveInput response); 44 SerializedVarReceiveInput response);
42 void OnMsgReleaseSession(PP_Instance instance, uint32_t session_id); 45 void OnMsgReleaseSession(PP_Instance instance, uint32_t session_id);
43 void OnMsgDecrypt(PP_Instance instance, 46 void OnMsgDecrypt(PP_Instance instance,
44 const PPPDecryptor_Buffer& encrypted_buffer, 47 const PPPDecryptor_Buffer& encrypted_buffer,
45 const std::string& serialized_encrypted_block_info); 48 const std::string& serialized_encrypted_block_info);
46 void OnMsgInitializeAudioDecoder( 49 void OnMsgInitializeAudioDecoder(
47 PP_Instance instance, 50 PP_Instance instance,
48 const std::string& decoder_config, 51 const std::string& decoder_config,
(...skipping 16 matching lines...) Expand all
65 68
66 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; 69 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_;
67 70
68 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); 71 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy);
69 }; 72 };
70 73
71 } // namespace proxy 74 } // namespace proxy
72 } // namespace ppapi 75 } // namespace ppapi
73 76
74 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 77 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
OLDNEW
« ppapi/cpp/private/content_decryptor_private.h ('K') | « ppapi/proxy/ppapi_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698