Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: ppapi/native_client/src/trusted/plugin/desc_based_handle.cc

Issue 9390028: Remove browser support for non-PPAPI nexes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7
8 #include "native_client/src/trusted/plugin/browser_interface.h"
9 #include "native_client/src/trusted/plugin/desc_based_handle.h"
10 #include "native_client/src/trusted/plugin/plugin.h"
11
12
13 namespace plugin {
14
15 DescBasedHandle::DescBasedHandle(nacl::DescWrapper* wrapper)
16 : wrapper_(wrapper) {
17 PLUGIN_PRINTF(("DescBasedHandle::DescBasedHandle (this=%p)\n",
18 static_cast<void*>(this)));
19 }
20
21 DescBasedHandle::~DescBasedHandle() {
22 PLUGIN_PRINTF(("DescBasedHandle::~DescBasedHandle (this=%p)\n",
23 static_cast<void*>(this)));
24 }
25
26 DescBasedHandle* DescBasedHandle::New(nacl::DescWrapper* wrapper) {
27 PLUGIN_PRINTF(("DescBasedHandle::New (wrapper=%p)\n",
28 static_cast<void*>(wrapper)));
29
30 if (wrapper == NULL) {
31 return NULL;
32 }
33 return new DescBasedHandle(wrapper);
34 }
35
36 } // namespace plugin
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/desc_based_handle.h ('k') | ppapi/native_client/src/trusted/plugin/method_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698