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

Unified Diff: remoting/host/daemon_process.h

Issue 11234034: Crash the network process when a fatal daemon-to-network protocol error encountered. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 8d973f5fb4680eb5471f92107e9254183e08cd61..c31d20fc897c910249ebcafba619a53608a87b64 100644
--- a/remoting/host/daemon_process.h
+++ b/remoting/host/daemon_process.h
@@ -9,6 +9,7 @@
#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 "ipc/ipc_channel.h"
@@ -79,6 +80,9 @@ class DaemonProcess
// less or equal to the highest ID we have seen so far.
bool IsTerminalIdKnown(int terminal_id);
+ // Restarts the network process.
+ void RestartNetworkProcess(const tracked_objects::Location& location);
+
// Stoppable implementation.
virtual void DoStop() OVERRIDE;
@@ -89,9 +93,6 @@ class DaemonProcess
// Launches the network process and establishes an IPC channel with it.
virtual void LaunchNetworkProcess() = 0;
- // Restart the network process.
- virtual void RestartNetworkProcess() = 0;
-
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() {
return caller_task_runner_;
}

Powered by Google App Engine
This is Rietveld 408576698