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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host.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_message_process_host.h
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.h b/chrome/browser/extensions/api/messaging/native_message_process_host.h
index cb8c42f1c727ce7060f9ad5ebde551f6d800493e..67ef800538d4feba28e79d32040dffdd688524e9 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host.h
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host.h
@@ -72,7 +72,7 @@ class NativeMessageProcessHost :
// Callback for NativeProcessLauncher::Launch().
void OnHostProcessLaunched(NativeProcessLauncher::LaunchResult result,
- base::ProcessHandle process_handle,
+ base::Process process,
base::File read_file,
base::File write_file);
@@ -108,7 +108,7 @@ class NativeMessageProcessHost :
// due to an error.
bool closed_;
- base::ProcessHandle process_handle_;
+ base::Process process_;
// Input stream reader.
scoped_ptr<net::FileStream> read_stream_;
« no previous file with comments | « base/process/process_util_unittest.cc ('k') | chrome/browser/extensions/api/messaging/native_message_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698