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

Unified Diff: remoting/host/daemon_process.h

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/chromoting_messages.h ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process.h
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index 9877f437a8dfae5e0b16c477b435db1d06c442e7..aed640c21348d4556c21dec4aac1fa25a05295ab 100644
--- a/remoting/host/daemon_process.h
+++ b/remoting/host/daemon_process.h
@@ -9,7 +9,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/location.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -25,6 +24,10 @@
struct SerializedTransportRoute;
+namespace tracked_objects {
+class Location;
+} // namespace tracked_objects
+
namespace remoting {
class AutoThreadTaskRunner;
@@ -126,6 +129,10 @@ class DaemonProcess
const DesktopSessionParams& params,
bool virtual_terminal) = 0;
+ // Requests the network process to crash.
+ virtual void DoCrashNetworkProcess(
+ const tracked_objects::Location& location) = 0;
+
// Launches the network process and establishes an IPC channel with it.
virtual void LaunchNetworkProcess() = 0;
« no previous file with comments | « remoting/host/chromoting_messages.h ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698