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

Unified Diff: components/nacl/renderer/sandbox_arch.h

Issue 193313002: Pepper: Move GetSandboxISA() to PPB_NaCl_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nacl_interface threading fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/nacl/renderer/sandbox_arch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/sandbox_arch.h
diff --git a/components/nacl/renderer/sandbox_arch.h b/components/nacl/renderer/sandbox_arch.h
new file mode 100644
index 0000000000000000000000000000000000000000..d30324cc6639c918e534ee9b40f5b78a80e05d6e
--- /dev/null
+++ b/components/nacl/renderer/sandbox_arch.h
@@ -0,0 +1,18 @@
+// Copyright (c) 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.
+
+// Routines for determining the most appropriate NaCl executable for
+// the current CPU's architecture.
+
+#ifndef COMPONENTS_NACL_RENDERER_SANDBOX_ARCH_H
+#define COMPONENTS_NACL_RENDERER_SANDBOX_ARCH_H
+
+namespace nacl {
+// Returns the kind of SFI sandbox implemented by NaCl on this
+// platform. See the implementation in sandbox_arch.cc for possible
+// values.
+const char* GetSandboxArch();
+} // namespace nacl
+
+#endif // COMPONENTS_NACL_RENDERER_SANDBOX_ARCH_H
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/nacl/renderer/sandbox_arch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698