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_COMMON_NACL_NONSFI_UTIL_H_
6#define COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_
7
8namespace nacl {
9
10// Returns true if non-SFI mode *can* run on the current platform and if non-SFI
11// manifest entries are preferred.  There can be other restrictions which
12// prevent a particular module from launching.  See NaClProcessHost::Launch
13// which makes the final determination.
14bool IsNonSFIModeEnabled();
15
16}  // namespace nacl
17
18#endif  // COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_
19