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

Unified Diff: experimental/c_salt/npapi/npn_bridge.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/c_salt/npapi/javascript_object_proxy.cc ('k') | experimental/c_salt/npapi/npp_gate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/c_salt/npapi/npn_bridge.cc
diff --git a/experimental/c_salt/npapi/npn_bridge.cc b/experimental/c_salt/npapi/npn_bridge.cc
deleted file mode 100644
index a6b365eb05e194c5233e1e5c48e6b595a410f57c..0000000000000000000000000000000000000000
--- a/experimental/c_salt/npapi/npn_bridge.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2010 The Ginsu 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 <assert.h>
-#include <nacl/npapi_extensions.h>
-#include <nacl/npupp.h>
-
-// PINPAPI extensions. These get filled in when NPP_New is called.
-static NPExtensions* kPINPAPIExtensions = NULL;
-
-void InitializePepperExtensions(NPP instance) {
- // Grab the PINPAPI extensions.
- NPN_GetValue(instance, NPNVPepperExtensions,
- reinterpret_cast<void*>(&kPINPAPIExtensions));
- assert(NULL != kPINPAPIExtensions);
-}
-
-// These are PINPAPI extensions.
-NPDevice* NPN_AcquireDevice(NPP instance, NPDeviceID device) {
- return kPINPAPIExtensions ?
- kPINPAPIExtensions->acquireDevice(instance, device) : NULL;
-}
-
« no previous file with comments | « experimental/c_salt/npapi/javascript_object_proxy.cc ('k') | experimental/c_salt/npapi/npp_gate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698