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

Unified Diff: chrome/common/process_watcher.cc

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 | « chrome/common/process_watcher.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/process_watcher.cc
===================================================================
--- chrome/common/process_watcher.cc (revision 5371)
+++ chrome/common/process_watcher.cc (working copy)
@@ -17,7 +17,7 @@
class TimerExpiredTask : public Task, public base::ObjectWatcher::Delegate {
public:
- explicit TimerExpiredTask(ProcessHandle process) : process_(process) {
+ explicit TimerExpiredTask(base::ProcessHandle process) : process_(process) {
watcher_.StartWatching(process_, this);
}
@@ -68,7 +68,7 @@
}
// The process that we are watching.
- ProcessHandle process_;
+ base::ProcessHandle process_;
base::ObjectWatcher watcher_;
@@ -78,7 +78,7 @@
} // namespace
// static
-void ProcessWatcher::EnsureProcessTerminated(ProcessHandle process) {
+void ProcessWatcher::EnsureProcessTerminated(base::ProcessHandle process) {
DCHECK(process != GetCurrentProcess());
// If already signaled, then we are done!
« no previous file with comments | « chrome/common/process_watcher.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698