Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 8 namespace nacl { | |
| 9 | |
| 10 // Returns true if non-SFI mode *can* run for a given platform and if non-SFI | |
|
Mark Seaborn
2014/05/12 22:49:26
Nit: maybe "current platform"? (Since "given" sug
mdempsky
2014/05/12 22:54:24
Done.
| |
| 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(); | |
| 15 | |
| 16 } // namespace nacl | |
| 17 | |
| 18 #endif // COMPONENTS_NACL_COMMON_NACL_NONSFI_UTIL_H_ | |
| OLD | NEW |