Chromium Code Reviews| 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 12 matching lines...) Expand all Loading... | |
| 23 explicit PPP_ContentDecryptor_Private_Proxy(Dispatcher* dispatcher); | 23 explicit PPP_ContentDecryptor_Private_Proxy(Dispatcher* dispatcher); |
| 24 virtual ~PPP_ContentDecryptor_Private_Proxy(); | 24 virtual ~PPP_ContentDecryptor_Private_Proxy(); |
| 25 | 25 |
| 26 static const PPP_ContentDecryptor_Private* GetProxyInterface(); | 26 static const PPP_ContentDecryptor_Private* GetProxyInterface(); |
| 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, | |
| 34 SerializedVarReceiveInput key_system, | |
| 35 const bool can_challenge_platform); | |
|
ddorwin
2013/09/19 00:58:42
same
jrummell
2013/09/19 18:15:15
Done.
| |
| 33 void OnMsgGenerateKeyRequest(PP_Instance instance, | 36 void OnMsgGenerateKeyRequest(PP_Instance instance, |
| 34 SerializedVarReceiveInput key_system, | |
| 35 SerializedVarReceiveInput type, | 37 SerializedVarReceiveInput type, |
| 36 SerializedVarReceiveInput init_data); | 38 SerializedVarReceiveInput init_data); |
| 37 void OnMsgAddKey(PP_Instance instance, | 39 void OnMsgAddKey(PP_Instance instance, |
| 38 SerializedVarReceiveInput session_id, | 40 SerializedVarReceiveInput session_id, |
| 39 SerializedVarReceiveInput key, | 41 SerializedVarReceiveInput key, |
| 40 SerializedVarReceiveInput init_data); | 42 SerializedVarReceiveInput init_data); |
| 41 void OnMsgCancelKeyRequest(PP_Instance instance, | 43 void OnMsgCancelKeyRequest(PP_Instance instance, |
| 42 SerializedVarReceiveInput session_id); | 44 SerializedVarReceiveInput session_id); |
| 43 void OnMsgDecrypt(PP_Instance instance, | 45 void OnMsgDecrypt(PP_Instance instance, |
| 44 const PPPDecryptor_Buffer& encrypted_buffer, | 46 const PPPDecryptor_Buffer& encrypted_buffer, |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 65 | 67 |
| 66 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; | 68 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; |
| 67 | 69 |
| 68 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); | 70 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); |
| 69 }; | 71 }; |
| 70 | 72 |
| 71 } // namespace proxy | 73 } // namespace proxy |
| 72 } // namespace ppapi | 74 } // namespace ppapi |
| 73 | 75 |
| 74 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ | 76 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ |
| OLD | NEW |