diff options
Diffstat (limited to 'content/browser/utility_process_host.h')
-rw-r--r-- | content/browser/utility_process_host.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/content/browser/utility_process_host.h b/content/browser/utility_process_host.h index 9018818..69389a2 100644 --- a/content/browser/utility_process_host.h +++ b/content/browser/utility_process_host.h @@ -63,6 +63,10 @@ class CONTENT_EXPORT UtilityProcessHost : public BrowserChildProcessHost { void set_exposed_dir(const FilePath& dir) { exposed_dir_ = dir; } + void set_no_sandbox(bool flag) { no_sandbox_ = flag; } + + void set_child_flags(int flags) { child_flags_ = flags; } + protected: // Allow these methods to be overridden for tests. virtual FilePath GetUtilityProcessCmd(); @@ -90,6 +94,12 @@ class CONTENT_EXPORT UtilityProcessHost : public BrowserChildProcessHost { // the operation. FilePath exposed_dir_; + // Whether to pass switches::kNoSandbox to the child. + bool no_sandbox_; + + // Flags defined in ChildProcessHost with which to start the process. + int child_flags_; + bool started_; DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost); |