1 // Copyright 2014 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H_ 6 #define COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H_ 7 8 namespace nacl { 9 // Returns the kind of SFI sandbox implemented by NaCl on this 10 // platform. See the implementation in platform_info.cc for possible 11 // values. 12 const char* GetSandboxArch(); 13 14 // Returns the features for the system's processor. Used for PNaCl translation. 15 std::string GetCpuFeatures(); 16 } // namespace nacl 17 18 #endif // COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H_ 19