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

Unified Diff: src/trusted/plugin/arch_x86/sandbox_isa.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/arch_arm/sandbox_isa.cc ('k') | src/trusted/plugin/array_ppapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/arch_x86/sandbox_isa.cc
diff --git a/src/trusted/plugin/arch_x86/sandbox_isa.cc b/src/trusted/plugin/arch_x86/sandbox_isa.cc
deleted file mode 100644
index f901ec643ccef9d4059ff505fd11dc090b596003..0000000000000000000000000000000000000000
--- a/src/trusted/plugin/arch_x86/sandbox_isa.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2010 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 "native_client/src/trusted/plugin/nexe_arch.h"
-#include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h"
-
-namespace {
-// The list of supported ISA strings for x86. See issue:
-// http://code.google.com/p/nativeclient/issues/detail?id=1040 for more
-// information. Note that these string are to be case-insensitive compared.
-const char* const kNexeArchX86_32 = "x86-32";
-const char* const kNexeArchX86_64 = "x86-64";
-} // namespace
-
-namespace plugin {
-const char* GetSandboxISA() {
-#if defined(NACL_ARCH_CPU_X86_64) && (defined(NACL_LINUX) || defined(NACL_OSX))
- return kNexeArchX86_64; // 64-bit Linux or Mac.
-#else
- return NaClOsIs64BitWindows() == 1
- ? kNexeArchX86_64 // 64-bit Windows (Chrome, Firefox)
- : kNexeArchX86_32; // everything else.
-#endif
-}
-} // namespace plugin
« no previous file with comments | « src/trusted/plugin/arch_arm/sandbox_isa.cc ('k') | src/trusted/plugin/array_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698