| 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_THUNK_INSTANCE_API_H_ | 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_ |
| 6 #define PPAPI_THUNK_INSTANCE_API_H_ | 6 #define PPAPI_THUNK_INSTANCE_API_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ppapi/c/dev/ppb_messaging_deprecated.h" | 10 #include "ppapi/c/dev/ppb_messaging_deprecated.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 uint32 promise_id, | 167 uint32 promise_id, |
| 168 PP_Var web_session_id_var) = 0; | 168 PP_Var web_session_id_var) = 0; |
| 169 virtual void PromiseRejected(PP_Instance instance, | 169 virtual void PromiseRejected(PP_Instance instance, |
| 170 uint32 promise_id, | 170 uint32 promise_id, |
| 171 PP_CdmExceptionCode exception_code, | 171 PP_CdmExceptionCode exception_code, |
| 172 uint32 system_code, | 172 uint32 system_code, |
| 173 PP_Var error_description_var) = 0; | 173 PP_Var error_description_var) = 0; |
| 174 virtual void SessionMessage(PP_Instance instance, | 174 virtual void SessionMessage(PP_Instance instance, |
| 175 PP_Var web_session_id_var, | 175 PP_Var web_session_id_var, |
| 176 PP_CdmMessageType message_type, | 176 PP_CdmMessageType message_type, |
| 177 PP_Var message_var) = 0; | 177 PP_Var message_var, |
| 178 PP_Var legacy_destination_url_var) = 0; |
| 178 virtual void SessionKeysChange( | 179 virtual void SessionKeysChange( |
| 179 PP_Instance instance, | 180 PP_Instance instance, |
| 180 PP_Var web_session_id_var, | 181 PP_Var web_session_id_var, |
| 181 PP_Bool has_additional_usable_key, | 182 PP_Bool has_additional_usable_key, |
| 182 uint32_t key_count, | 183 uint32_t key_count, |
| 183 const struct PP_KeyInformation key_information[]) = 0; | 184 const struct PP_KeyInformation key_information[]) = 0; |
| 184 virtual void SessionExpirationChange(PP_Instance instance, | 185 virtual void SessionExpirationChange(PP_Instance instance, |
| 185 PP_Var web_session_id_var, | 186 PP_Var web_session_id_var, |
| 186 PP_Time new_expiry_time) = 0; | 187 PP_Time new_expiry_time) = 0; |
| 187 virtual void SessionClosed(PP_Instance instance, | 188 virtual void SessionClosed(PP_Instance instance, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 PP_URLComponents_Dev* components) = 0; | 226 PP_URLComponents_Dev* components) = 0; |
| 226 #endif // !defined(OS_NACL) | 227 #endif // !defined(OS_NACL) |
| 227 | 228 |
| 228 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 229 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 229 }; | 230 }; |
| 230 | 231 |
| 231 } // namespace thunk | 232 } // namespace thunk |
| 232 } // namespace ppapi | 233 } // namespace ppapi |
| 233 | 234 |
| 234 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 235 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
| OLD | NEW |