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

Unified Diff: components/nacl/loader/nonsfi/irt_ppapi.cc

Issue 1409633002: Non-SFI mode: Remove old Non-SFI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « components/nacl/loader/nonsfi/irt_memory.cc ('k') | components/nacl/loader/nonsfi/irt_random.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nonsfi/irt_ppapi.cc
diff --git a/components/nacl/loader/nonsfi/irt_ppapi.cc b/components/nacl/loader/nonsfi/irt_ppapi.cc
deleted file mode 100644
index 508c8dbec396022c5afc71253aff34932c080080..0000000000000000000000000000000000000000
--- a/components/nacl/loader/nonsfi/irt_ppapi.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 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 "base/logging.h"
-#include "components/nacl/loader/nonsfi/irt_interfaces.h"
-#include "ppapi/c/ppp.h"
-#include "ppapi/nacl_irt/plugin_main.h"
-#include "ppapi/nacl_irt/public/irt_ppapi.h"
-
-namespace nacl {
-namespace nonsfi {
-namespace {
-
-struct PP_StartFunctions g_pp_functions;
-
-int IrtPpapiStart(const struct PP_StartFunctions* funcs) {
- g_pp_functions = *funcs;
- return PpapiPluginMain();
-}
-
-} // namespace
-
-const struct nacl_irt_ppapihook kIrtPpapiHook = {
- IrtPpapiStart,
- PpapiPluginRegisterThreadCreator,
-};
-
-} // namespace nonsfi
-} // namespace nacl
-
-int32_t PPP_InitializeModule(PP_Module module_id,
- PPB_GetInterface get_browser_interface) {
- return nacl::nonsfi::g_pp_functions.PPP_InitializeModule(
- module_id, get_browser_interface);
-}
-
-void PPP_ShutdownModule(void) {
- nacl::nonsfi::g_pp_functions.PPP_ShutdownModule();
-}
-
-const void *PPP_GetInterface(const char *interface_name) {
- return nacl::nonsfi::g_pp_functions.PPP_GetInterface(interface_name);
-}
« no previous file with comments | « components/nacl/loader/nonsfi/irt_memory.cc ('k') | components/nacl/loader/nonsfi/irt_random.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698