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

Unified Diff: content/public/common/child_process_host_delegate.h

Issue 725353003: Don't pass ProcessHandle through ChildProcessHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 6 years, 1 month 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 | « content/public/browser/browser_ppapi_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/child_process_host_delegate.h
diff --git a/content/public/common/child_process_host_delegate.h b/content/public/common/child_process_host_delegate.h
index 9aa23ae8823a5aaef7663ffbe95c7a4085d32a64..95942763c1575dce8df48cfedce8ef2445b4efdb 100644
--- a/content/public/common/child_process_host_delegate.h
+++ b/content/public/common/child_process_host_delegate.h
@@ -28,9 +28,9 @@ class ChildProcessHostDelegate : public IPC::Listener {
// would normally delete the object in this case.
virtual void OnChildDisconnected() {}
- // Returns the handle of the child process. This can be called only after
+ // Returns a reference to the child process. This can be called only after
// OnProcessLaunched is called or it will be invalid and may crash.
- virtual base::ProcessHandle GetHandle() const = 0;
+ virtual const base::Process& GetProcess() const = 0;
};
}; // namespace content
« no previous file with comments | « content/public/browser/browser_ppapi_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698