| 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 #include "ppapi/thunk/enter.h" | 5 #include "ppapi/thunk/enter.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 156 } |
| 157 | 157 |
| 158 EnterInstance::EnterInstance(PP_Instance instance, | 158 EnterInstance::EnterInstance(PP_Instance instance, |
| 159 const PP_CompletionCallback& callback) | 159 const PP_CompletionCallback& callback) |
| 160 : EnterFunction<PPB_Instance_FunctionAPI>(instance, callback, true) { | 160 : EnterFunction<PPB_Instance_FunctionAPI>(instance, callback, true) { |
| 161 } | 161 } |
| 162 | 162 |
| 163 EnterInstance::~EnterInstance() { | 163 EnterInstance::~EnterInstance() { |
| 164 } | 164 } |
| 165 | 165 |
| 166 EnterInstanceNoLock::EnterInstanceNoLock(PP_Instance instance) |
| 167 : EnterFunctionNoLock<PPB_Instance_FunctionAPI>(instance, true) { |
| 168 } |
| 169 |
| 170 EnterInstanceNoLock::~EnterInstanceNoLock() { |
| 171 } |
| 172 |
| 166 } // namespace thunk | 173 } // namespace thunk |
| 167 } // namespace ppapi | 174 } // namespace ppapi |
| OLD | NEW |