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

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: 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
Index: remoting/host/daemon_process.h
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index 323573f300a8f003027cb4e37adca41ee93a0234..ef2cb9a43e6a88e3078a2478c4009ae09dac2f87 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;
@@ -120,6 +123,10 @@ class DaemonProcess
virtual scoped_ptr<DesktopSession> DoCreateDesktopSession(
int terminal_id) = 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;

Powered by Google App Engine
This is Rietveld 408576698