| 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_ENTER_H_ | 5 #ifndef PPAPI_THUNK_ENTER_H_ |
| 6 #define PPAPI_THUNK_ENTER_H_ | 6 #define PPAPI_THUNK_ENTER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
| 10 #include "ppapi/shared_impl/api_id.h" | 10 #include "ppapi/shared_impl/api_id.h" |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // many interfaces so we have this helper function to save template | 255 // many interfaces so we have this helper function to save template |
| 256 // instantiations and typing. | 256 // instantiations and typing. |
| 257 class PPAPI_THUNK_EXPORT EnterInstance | 257 class PPAPI_THUNK_EXPORT EnterInstance |
| 258 : public EnterFunction<PPB_Instance_FunctionAPI> { | 258 : public EnterFunction<PPB_Instance_FunctionAPI> { |
| 259 public: | 259 public: |
| 260 EnterInstance(PP_Instance instance); | 260 EnterInstance(PP_Instance instance); |
| 261 EnterInstance(PP_Instance instance, const PP_CompletionCallback& callback); | 261 EnterInstance(PP_Instance instance, const PP_CompletionCallback& callback); |
| 262 ~EnterInstance(); | 262 ~EnterInstance(); |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 class PPAPI_THUNK_EXPORT EnterInstanceNoLock |
| 266 : public EnterFunctionNoLock<PPB_Instance_FunctionAPI> { |
| 267 public: |
| 268 EnterInstanceNoLock(PP_Instance instance); |
| 269 ~EnterInstanceNoLock(); |
| 270 }; |
| 271 |
| 265 } // namespace thunk | 272 } // namespace thunk |
| 266 } // namespace ppapi | 273 } // namespace ppapi |
| 267 | 274 |
| 268 #endif // PPAPI_THUNK_ENTER_H_ | 275 #endif // PPAPI_THUNK_ENTER_H_ |
| OLD | NEW |