diff options
author | elijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 22:16:13 +0000 |
---|---|---|
committer | elijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-05 22:16:13 +0000 |
commit | 6f38c134527081792dadb98037ce5b1c99ae1071 (patch) | |
tree | b04b80c0842c70b81166340d99b1d38fe7673357 /base/process/launch.h | |
parent | 2c288eda44e8d110f4d5e121cdb73e0039d9ecd7 (diff) | |
download | chromium_src-6f38c134527081792dadb98037ce5b1c99ae1071.zip chromium_src-6f38c134527081792dadb98037ce5b1c99ae1071.tar.gz chromium_src-6f38c134527081792dadb98037ce5b1c99ae1071.tar.bz2 |
Clear environment variables for nacl_helper
BUG=358413
Review URL: https://codereview.chromium.org/308073002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process/launch.h')
-rw-r--r-- | base/process/launch.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/base/process/launch.h b/base/process/launch.h index 9e39fba..2ee173e 100644 --- a/base/process/launch.h +++ b/base/process/launch.h @@ -88,10 +88,15 @@ struct BASE_EXPORT LaunchOptions { // job if any. bool force_breakaway_from_job_; #else - // Set/unset environment variables. Empty (the default) means to inherit - // the same environment. See AlterEnvironment(). + // Set/unset environment variables. These are applied on top of the parent + // process environment. Empty (the default) means to inherit the same + // environment. See AlterEnvironment(). EnvironmentMap environ; + // Clear the environment for the new process before processing changes from + // |environ|. + bool clear_environ; + // If non-null, remap file descriptors according to the mapping of // src fd->dest fd to propagate FDs into the child process. // This pointer is owned by the caller and must live through the |