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

Unified Diff: src/trusted/plugin/array_ppapi.cc

Issue 7799028: Remove src/trusted/plugin (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: fix gyp file for necessary -I Created 9 years, 4 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 | « src/trusted/plugin/array_ppapi.h ('k') | src/trusted/plugin/browser_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/array_ppapi.cc
diff --git a/src/trusted/plugin/array_ppapi.cc b/src/trusted/plugin/array_ppapi.cc
deleted file mode 100644
index 9f39e1ef3246ed274e464cbca75fb4bdc46203a6..0000000000000000000000000000000000000000
--- a/src/trusted/plugin/array_ppapi.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Native Client 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 "native_client/src/include/nacl_string.h"
-#include "native_client/src/include/nacl_macros.h"
-#include "native_client/src/include/portability.h"
-#include "native_client/src/trusted/plugin/utility.h"
-#include "native_client/src/trusted/plugin/array_ppapi.h"
-
-
-namespace plugin {
-
-ArrayPpapi::ArrayPpapi(Plugin* instance) {
- PLUGIN_PRINTF(("ArrayPpapi::ArrayPpapi (this=%p, instance=%p)\n",
- static_cast<void*>(this), static_cast<void*>(instance)));
- pp::VarPrivate window = instance->GetWindowObject();
- PLUGIN_PRINTF(("ArrayPpapi::ArrayPpapi (window=%d)\n",
- !window.is_undefined()));
- js_array_ = window.Call(pp::Var("eval"), pp::Var("new Array;"));
- PLUGIN_PRINTF(("ArrayPpapi::ArrayPpapi (js_array_=%d)\n",
- !js_array_.is_undefined()));
- assert(!js_array_.is_undefined());
-}
-
-} // namespace plugin
« no previous file with comments | « src/trusted/plugin/array_ppapi.h ('k') | src/trusted/plugin/browser_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698