Chromium Code Reviews| Index: chrome/installer/util/user_experiment.cc |
| diff --git a/chrome/installer/util/user_experiment.cc b/chrome/installer/util/user_experiment.cc |
| index a5c4d6a1e63ea58f921d8258c9430095c933fdc6..94bd12b1624baa5999203c52c54828e05799c981 100644 |
| --- a/chrome/installer/util/user_experiment.cc |
| +++ b/chrome/installer/util/user_experiment.cc |
| @@ -136,7 +136,7 @@ bool LaunchSetup(base::CommandLine* cmd_line, bool system_level_toast) { |
| // Use handle inheritance to make sure the duplicated toast results key |
| // gets inherited by the child process. |
| base::LaunchOptions options; |
| - options.inherit_handles = true; |
| + options.inherit_mode = base::LaunchOptions::Inherit::kAll; |
|
jschuh
2017/07/24 19:41:27
Leave a TODO here.
|
| base::Process process = base::LaunchProcess(*cmd_line, options); |
| return process.IsValid(); |
| } |
| @@ -239,7 +239,7 @@ bool LaunchSetupAsConsoleUser(base::CommandLine* cmd_line) { |
| // able to use the duplicated handle above (Google Update results). |
| base::LaunchOptions options; |
| options.as_user = user_token; |
| - options.inherit_handles = true; |
| + options.inherit_mode = base::LaunchOptions::Inherit::kAll; |
|
jschuh
2017/07/24 19:41:27
Leave a TODO here.
|
| options.empty_desktop_name = true; |
| VLOG(1) << __func__ << " launching " << cmd_line->GetCommandLineString(); |
| base::Process process = base::LaunchProcess(*cmd_line, options); |