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

Unified Diff: ppapi/native_client/src/trusted/plugin/array_ppapi.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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/trusted/plugin/array_ppapi.cc
===================================================================
--- ppapi/native_client/src/trusted/plugin/array_ppapi.cc (revision 122205)
+++ ppapi/native_client/src/trusted/plugin/array_ppapi.cc (working copy)
@@ -1,28 +0,0 @@
-// 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 <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 | « ppapi/native_client/src/trusted/plugin/array_ppapi.h ('k') | ppapi/native_client/src/trusted/plugin/browser_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698