Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: shell/application_manager/native_application_options.h

Issue 1444433002: Added anti-singleton services (new process/thread per connection). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added multiprocess apptest Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698