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

Side by Side Diff: components/nacl/renderer/sandbox_isa.h

Issue 193313002: Pepper: Move GetSandboxISA() to PPB_NaCl_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for dmichael Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
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 COMPONENTS_NACL_RENDERER_SANDBOX_ISA_H
9 #define COMPONENTS_NACL_RENDERER_SANDBOX_ISA_H
10
11 namespace nacl {
12 // Returns the kind of SFI sandbox implemented by sel_ldr on this
Mark Seaborn 2014/03/12 18:24:14 "sel_ldr" -> "NaCl"
13 // platform. See the implementation in sandbox_isa.cc for possible
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 browser is capable of launching a 64-bit NaCl
19 // sandbox if a 64-bit sel_ldr is installed (and indeed, may only be capable of
Mark Seaborn 2014/03/12 18:24:14 Chromium doesn't use sel_ldr any more. You could
20 // launching a 64-bit sandbox).
21 const char* GetSandboxISA();
Mark Seaborn 2014/03/12 18:24:14 Maybe GetSandboxArch() here too?
22 } // namespace nacl
23
24 #endif // COMPONENTS_NACL_RENDERER_SANDBOX_ISA_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698