Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
|
dmichael (off chromium)
2014/03/11 19:00:16
nit: 2014
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Routines for determining the most appropriate NaCl executable for | |
| 6 // the current CPU's architecture. | |
| 7 | |
| 8 #ifndef CONTENT_NACL_RENDERER_NEXE_ARCH_H | |
| 9 #define CONTENT_NACL_RENDERER_NEXE_ARCH_H | |
|
dmichael (off chromium)
2014/03/11 19:00:16
^^^ doesn't match path anymore
| |
| 10 | |
| 11 namespace nacl { | |
| 12 // Returns the kind of SFI sandbox implemented by sel_ldr on this | |
| 13 // platform. See the implementations in arch_*/sandbox_isa.cc for possible | |
|
dmichael (off chromium)
2014/03/11 19:00:16
ditto
| |
| 14 // values. | |
| 15 // | |
| 16 // This is a function of the current CPU, and OS. | |
| 17 // It is not sufficient to derive the result only from build-time parameters | |
| 18 // since, for example, an x86-32 plugin is capable of launching a 64-bit NaCl | |
|
dmichael (off chromium)
2014/03/11 19:00:16
plugin->browser ?
| |
| 19 // sandbox if a 64-bit sel_ldr is installed (and indeed, may only be capable of | |
| 20 // launching a 64-bit sandbox). | |
| 21 const char* GetSandboxISA(); | |
| 22 } // namespace nacl | |
| 23 | |
| 24 #endif // CONTENT_NACL_RENDERER_NEXE_ARCH_H | |
| OLD | NEW |