| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ |
| 6 #define SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ | 6 #define SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ |
| 7 | 7 |
| 8 namespace shell { | 8 namespace shell { |
| 9 | 9 |
| 10 // Options relevant to running native applications. (Note that some of these may | 10 // Options relevant to running native applications. (Note that some of these may |
| 11 // be set at different stages, as more is learned about the application.) | 11 // be set at different stages, as more is learned about the application.) |
| 12 // TODO(vtl): Maybe these some of these should be tristate (unknown/true/false) | 12 // TODO(vtl): Maybe these some of these should be tristate (unknown/true/false) |
| 13 // instead of of booleans. | 13 // instead of of booleans. |
| 14 struct NativeApplicationOptions { | 14 struct NativeApplicationOptions { |
| 15 bool new_process_per_connection = false; |
| 15 bool force_in_process = false; | 16 bool force_in_process = false; |
| 16 bool require_32_bit = false; | 17 bool require_32_bit = false; |
| 17 bool allow_new_privs = false; | 18 bool allow_new_privs = false; |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 } // namespace shell | 21 } // namespace shell |
| 21 | 22 |
| 22 #endif // SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ | 23 #endif // SHELL_APPLICATION_MANAGER_NATIVE_APPLICATION_OPTIONS_H_ |
| OLD | NEW |