Add testing/scripts/OWNERS
[chromium-blink-merge.git] / components / nacl / common / nacl_nonsfi_util.h
blob07c033f35863148a7bafe40c488cece810fc2991
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.
5 #ifndef COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_
6 #define COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_
8 namespace nacl {
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.
14 bool IsNonSFIModeEnabled();
16 } // namespace nacl
18 #endif // COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_