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

Unified Diff: chrome/browser/extensions/api/messaging/native_process_launcher.h

Issue 759903002: Upgrade the windows specific version of LaunchProcess to avoid raw handles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome build Created 6 years 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
Index: chrome/browser/extensions/api/messaging/native_process_launcher.h
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.h b/chrome/browser/extensions/api/messaging/native_process_launcher.h
index db4130946119f56057e86f57f11bd4d1e846817d..00172eaa406b13bc6157d435342803243775aa40 100644
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.h
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.h
@@ -34,7 +34,7 @@ class NativeProcessLauncher {
// to false in case of a failure. Handler must take ownership of the IO
// handles.
typedef base::Callback<void(LaunchResult result,
- base::ProcessHandle process_handle,
+ base::Process process,
base::File read_file,
base::File write_file)> LaunchedCallback;
@@ -68,7 +68,7 @@ class NativeProcessLauncher {
// Launches native messaging process.
static bool LaunchNativeProcess(const base::CommandLine& command_line,
- base::ProcessHandle* process_handle,
+ base::Process* process,
base::File* read_file,
base::File* write_file);

Powered by Google App Engine
This is Rietveld 408576698