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

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

Issue 399983002: Pepper: Refactor cpu feature attributes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for bbudge Created 6 years, 5 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/nexe_load_manager.cc ('k') | components/nacl/renderer/platform_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/platform_info.h
diff --git a/components/nacl/renderer/platform_info.h b/components/nacl/renderer/platform_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..719b0606e3a556240cc3ea03d93e54672d84a0c5
--- /dev/null
+++ b/components/nacl/renderer/platform_info.h
@@ -0,0 +1,18 @@
+// 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.
+
+#ifndef COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
+#define COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
+
+namespace nacl {
+// Returns the kind of SFI sandbox implemented by NaCl on this
+// platform. See the implementation in platform_info.cc for possible
+// values.
+const char* GetSandboxArch();
+
+// Returns the features for the system's processor. Used for PNaCl translation.
+std::string GetCpuFeatures();
+} // namespace nacl
+
+#endif // COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.cc ('k') | components/nacl/renderer/platform_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698