Index: base/process/launch_win.cc |
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc |
index a3303a5e08588669aac9d84cf6f9acdb2473b594..323cfcbf66b2f53f96dffb916fa94807f262d392 100644 |
--- a/base/process/launch_win.cc |
+++ b/base/process/launch_win.cc |
@@ -232,6 +232,17 @@ bool LaunchProcess(const string16& cmdline, |
return true; |
} |
+// TODO(rvargas) crbug.com/416721: Remove this stub after LaunchProcess is |
+// fully migrated to use Process. |
+Process LaunchProcess(const string16& cmdline, |
+ const LaunchOptions& options) { |
+ win::ScopedHandle process_handle; |
+ if (LaunchProcess(cmdline, options, &process_handle)) |
+ return Process(process_handle.Take()); |
+ |
+ return Process(); |
+} |
+ |
bool LaunchProcess(const CommandLine& cmdline, |
const LaunchOptions& options, |
ProcessHandle* process_handle) { |