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

Unified Diff: tests/fake_browser_ppapi/fake_nacl_private.cc

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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 | « tests/fake_browser_ppapi/fake_nacl_private.h ('k') | tests/fake_browser_ppapi/fake_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/fake_browser_ppapi/fake_nacl_private.cc
===================================================================
--- tests/fake_browser_ppapi/fake_nacl_private.cc (revision 6005)
+++ tests/fake_browser_ppapi/fake_nacl_private.cc (working copy)
@@ -1,47 +0,0 @@
-// Copyright (c) 2010 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 "native_client/src/include/nacl_macros.h"
-#include "native_client/src/include/portability.h"
-#include "native_client/src/include/portability_io.h"
-#include "native_client/tests/fake_browser_ppapi/fake_nacl_private.h"
-
-#include "base/rand_util_c.h"
-#include "ppapi/c/private/ppb_nacl_private.h"
-
-namespace fake_browser_ppapi {
-
-namespace {
-
-bool LaunchSelLdr(const char* alleged_url, int socket_count,
- void* imc_handles, void* nacl_process_handle,
- int* nacl_process_id) {
- UNREFERENCED_PARAMETER(alleged_url);
- UNREFERENCED_PARAMETER(socket_count);
- UNREFERENCED_PARAMETER(imc_handles);
- UNREFERENCED_PARAMETER(nacl_process_handle);
- UNREFERENCED_PARAMETER(nacl_process_id);
- return false;
-}
-
-int UrandomFD(void) {
- return 0;
-}
-
-} // namespace
-
-const PPB_NaCl_Private ppb_nacl = {
- &LaunchSelLdr,
- &UrandomFD,
-};
-
-// static
-const PPB_NaCl_Private* NaClPrivate::GetInterface() {
- return &ppb_nacl;
-}
-
-
-} // namespace fake_browser_ppapi
« no previous file with comments | « tests/fake_browser_ppapi/fake_nacl_private.h ('k') | tests/fake_browser_ppapi/fake_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698