summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/enter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/thunk/enter.cc')
-rw-r--r--ppapi/thunk/enter.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/ppapi/thunk/enter.cc b/ppapi/thunk/enter.cc
new file mode 100644
index 0000000..da3f85c
--- /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