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

Unified Diff: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Merge Created 3 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiling_host/profiling_process_host.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc
diff --git a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc
index e5066b40a58ffd29e9478df4a5546e1ca73c0227..30454fb1bc866bbf6fb0363c66b938bbecad338a 100644
--- a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc
+++ b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc
@@ -142,11 +142,9 @@ ChromeCleanerRunner::LaunchAndWaitForExitOnBackgroundThread() {
chrome_cleaner::kChromeMojoPipeTokenSwitch, mojo_pipe_token);
mojo::edk::PlatformChannelPair channel;
- base::HandlesToInheritVector handles_to_inherit;
- channel.PrepareToPassClientHandleToChildProcess(&cleaner_command_line_,
- &handles_to_inherit);
base::LaunchOptions launch_options;
- launch_options.handles_to_inherit = &handles_to_inherit;
+ channel.PrepareToPassClientHandleToChildProcess(
+ &cleaner_command_line_, &launch_options.handles_to_inherit);
base::Process cleaner_process =
g_test_delegate
« no previous file with comments | « chrome/browser/profiling_host/profiling_process_host.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698