1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Copyright 2014 The Chromium Authors. All rights reserved. 2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Use of this source code is governed by a BSD-style license that can be 3116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// found in the LICENSE file. 4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch 5116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#ifndef COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H 6116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#define COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H 7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch 8116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace nacl { 9116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Returns the kind of SFI sandbox implemented by NaCl on this 10116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// platform. See the implementation in platform_info.cc for possible 11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// values. 12116680a4aac90f2aa7413d9095a592090648e557Ben Murdochconst char* GetSandboxArch(); 13116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch 14116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Returns the features for the system's processor. Used for PNaCl translation. 15116680a4aac90f2aa7413d9095a592090648e557Ben Murdochstd::string GetCpuFeatures(); 16116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch} // namespace nacl 17116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch 18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#endif // COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H 19