| 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 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual ~PPP_ContentDecryptor_Private_Proxy(); | 25 virtual ~PPP_ContentDecryptor_Private_Proxy(); |
| 26 | 26 |
| 27 static const PPP_ContentDecryptor_Private* GetProxyInterface(); | 27 static const PPP_ContentDecryptor_Private* GetProxyInterface(); |
| 28 | 28 |
| 29 private: | 29 private: |
| 30 // InterfaceProxy implementation. | 30 // InterfaceProxy implementation. |
| 31 virtual bool OnMessageReceived(const IPC::Message& msg); | 31 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 32 | 32 |
| 33 // Message handlers. | 33 // Message handlers. |
| 34 void OnMsgInitialize(PP_Instance instance, | 34 void OnMsgInitialize(PP_Instance instance, |
| 35 SerializedVarReceiveInput key_system); | 35 SerializedVarReceiveInput key_system, |
| 36 PP_Bool allow_distinctive_identifier, |
| 37 PP_Bool allow_persistent_state); |
| 36 void OnMsgSetServerCertificate(PP_Instance instance, | 38 void OnMsgSetServerCertificate(PP_Instance instance, |
| 37 uint32_t promise_id, | 39 uint32_t promise_id, |
| 38 std::vector<uint8_t> server_certificate); | 40 std::vector<uint8_t> server_certificate); |
| 39 void OnMsgCreateSessionAndGenerateRequest( | 41 void OnMsgCreateSessionAndGenerateRequest( |
| 40 PP_Instance instance, | 42 PP_Instance instance, |
| 41 uint32_t promise_id, | 43 uint32_t promise_id, |
| 42 PP_SessionType session_type, | 44 PP_SessionType session_type, |
| 43 SerializedVarReceiveInput init_data_type, | 45 SerializedVarReceiveInput init_data_type, |
| 44 SerializedVarReceiveInput init_data); | 46 SerializedVarReceiveInput init_data); |
| 45 void OnMsgLoadSession(PP_Instance instance, | 47 void OnMsgLoadSession(PP_Instance instance, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 83 |
| 82 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; | 84 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; |
| 83 | 85 |
| 84 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); | 86 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); |
| 85 }; | 87 }; |
| 86 | 88 |
| 87 } // namespace proxy | 89 } // namespace proxy |
| 88 } // namespace ppapi | 90 } // namespace ppapi |
| 89 | 91 |
| 90 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ | 92 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ |
| OLD | NEW |