Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / nacl / renderer / platform_info.h
1 // Copyright 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 #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