| 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_PPB_INSTANCE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 uint32 promise_id, | 137 uint32 promise_id, |
| 138 PP_Var web_session_id_var) override; | 138 PP_Var web_session_id_var) override; |
| 139 virtual void PromiseRejected(PP_Instance instance, | 139 virtual void PromiseRejected(PP_Instance instance, |
| 140 uint32 promise_id, | 140 uint32 promise_id, |
| 141 PP_CdmExceptionCode exception_code, | 141 PP_CdmExceptionCode exception_code, |
| 142 uint32 system_code, | 142 uint32 system_code, |
| 143 PP_Var error_description_var) override; | 143 PP_Var error_description_var) override; |
| 144 virtual void SessionMessage(PP_Instance instance, | 144 virtual void SessionMessage(PP_Instance instance, |
| 145 PP_Var web_session_id_var, | 145 PP_Var web_session_id_var, |
| 146 PP_CdmMessageType message_type, | 146 PP_CdmMessageType message_type, |
| 147 PP_Var message_var) override; | 147 PP_Var message_var, |
| 148 PP_Var legacy_destination_url_var) override; |
| 148 virtual void SessionKeysChange( | 149 virtual void SessionKeysChange( |
| 149 PP_Instance instance, | 150 PP_Instance instance, |
| 150 PP_Var web_session_id_var, | 151 PP_Var web_session_id_var, |
| 151 PP_Bool has_additional_usable_key, | 152 PP_Bool has_additional_usable_key, |
| 152 uint32_t key_count, | 153 uint32_t key_count, |
| 153 const struct PP_KeyInformation key_information[]) override; | 154 const struct PP_KeyInformation key_information[]) override; |
| 154 virtual void SessionExpirationChange(PP_Instance instance, | 155 virtual void SessionExpirationChange(PP_Instance instance, |
| 155 PP_Var web_session_id_var, | 156 PP_Var web_session_id_var, |
| 156 PP_Time new_expiry_time) override; | 157 PP_Time new_expiry_time) override; |
| 157 virtual void SessionClosed(PP_Instance instance, | 158 virtual void SessionClosed(PP_Instance instance, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 virtual void OnHostMsgPromiseResolvedWithSession( | 267 virtual void OnHostMsgPromiseResolvedWithSession( |
| 267 PP_Instance instance, | 268 PP_Instance instance, |
| 268 uint32_t promise_id, | 269 uint32_t promise_id, |
| 269 SerializedVarReceiveInput web_session_id); | 270 SerializedVarReceiveInput web_session_id); |
| 270 virtual void OnHostMsgPromiseRejected( | 271 virtual void OnHostMsgPromiseRejected( |
| 271 PP_Instance instance, | 272 PP_Instance instance, |
| 272 uint32_t promise_id, | 273 uint32_t promise_id, |
| 273 PP_CdmExceptionCode exception_code, | 274 PP_CdmExceptionCode exception_code, |
| 274 uint32_t system_code, | 275 uint32_t system_code, |
| 275 SerializedVarReceiveInput error_description); | 276 SerializedVarReceiveInput error_description); |
| 276 virtual void OnHostMsgSessionMessage(PP_Instance instance, | 277 virtual void OnHostMsgSessionMessage( |
| 277 SerializedVarReceiveInput web_session_id, | 278 PP_Instance instance, |
| 278 PP_CdmMessageType message_type, | 279 SerializedVarReceiveInput web_session_id, |
| 279 SerializedVarReceiveInput message); | 280 PP_CdmMessageType message_type, |
| 281 SerializedVarReceiveInput message, |
| 282 SerializedVarReceiveInput legacy_destination_url); |
| 280 virtual void OnHostMsgSessionKeysChange( | 283 virtual void OnHostMsgSessionKeysChange( |
| 281 PP_Instance instance, | 284 PP_Instance instance, |
| 282 const std::string& web_session_id, | 285 const std::string& web_session_id, |
| 283 PP_Bool has_additional_usable_key, | 286 PP_Bool has_additional_usable_key, |
| 284 const std::vector<PP_KeyInformation>& key_information); | 287 const std::vector<PP_KeyInformation>& key_information); |
| 285 virtual void OnHostMsgSessionExpirationChange( | 288 virtual void OnHostMsgSessionExpirationChange( |
| 286 PP_Instance instance, | 289 PP_Instance instance, |
| 287 const std::string& web_session_id, | 290 const std::string& web_session_id, |
| 288 PP_Time new_expiry_time); | 291 PP_Time new_expiry_time); |
| 289 virtual void OnHostMsgSessionClosed(PP_Instance instance, | 292 virtual void OnHostMsgSessionClosed(PP_Instance instance, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 // Other helpers. | 329 // Other helpers. |
| 327 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 330 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 328 | 331 |
| 329 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 332 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 330 }; | 333 }; |
| 331 | 334 |
| 332 } // namespace proxy | 335 } // namespace proxy |
| 333 } // namespace ppapi | 336 } // namespace ppapi |
| 334 | 337 |
| 335 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 338 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |