| Index: ppapi/thunk/enter.cc
|
| diff --git a/ppapi/thunk/enter.cc b/ppapi/thunk/enter.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..da3f85c80adee796454940c16b3775f2ee8da44d
|
| --- /dev/null
|
| +++ b/ppapi/thunk/enter.cc
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ppapi/thunk/enter.h"
|
| +
|
| +#include "ppapi/thunk/ppb_instance_api.h"
|
| +#include "ppapi/thunk/resource_creation_api.h"
|
| +
|
| +namespace ppapi {
|
| +namespace thunk {
|
| +
|
| +EnterResourceCreation::EnterResourceCreation(PP_Instance instance)
|
| + : EnterFunctionNoLock<ResourceCreationAPI>(instance, true) {
|
| +}
|
| +
|
| +EnterResourceCreation::~EnterResourceCreation() {
|
| +}
|
| +
|
| +EnterInstance::EnterInstance(PP_Instance instance)
|
| + : EnterFunctionNoLock<PPB_Instance_FunctionAPI>(instance, true) {
|
| +}
|
| +
|
| +EnterInstance::~EnterInstance() {
|
| +}
|
| +
|
| +} // namespace thunk
|
| +} // namespace ppapi
|
|
|