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

Unified Diff: remoting/host/win/unprivileged_process_delegate.cc

Issue 12545006: The worker process launcher can now ask the worker to crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months 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 | « remoting/host/win/unprivileged_process_delegate.h ('k') | remoting/host/win/worker_process_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/unprivileged_process_delegate.cc
diff --git a/remoting/host/win/unprivileged_process_delegate.cc b/remoting/host/win/unprivileged_process_delegate.cc
index 2a5d20efb0ba1a01993fa2e6d3696f7bc146623f..ef597d1e4a28332045ef86b89c293545d9300a0b 100644
--- a/remoting/host/win/unprivileged_process_delegate.cc
+++ b/remoting/host/win/unprivileged_process_delegate.cc
@@ -232,6 +232,12 @@ bool UnprivilegedProcessDelegate::Send(IPC::Message* message) {
return channel_->Send(message);
}
+void UnprivilegedProcessDelegate::CloseChannel() {
+ DCHECK(main_task_runner_->BelongsToCurrentThread());
+
+ channel_.reset();
+}
+
DWORD UnprivilegedProcessDelegate::GetProcessId() const {
if (worker_process_.IsValid()) {
return ::GetProcessId(worker_process_);
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.h ('k') | remoting/host/win/worker_process_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698