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

Unified Diff: remoting/host/daemon_process_win.cc

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: rebased 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
« no previous file with comments | « remoting/host/daemon_process_unittest.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process_win.cc
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
index cb81b4ad0449c0963ef9a2ce03867a92805c9775..5b0a57d4f79cfcdd3aa8ac5e3c9149866fdfd3e6 100644
--- a/remoting/host/daemon_process_win.cc
+++ b/remoting/host/daemon_process_win.cc
@@ -53,7 +53,6 @@ class DaemonProcessWin : public DaemonProcess {
virtual scoped_ptr<DesktopSession> DoCreateDesktopSession(
int terminal_id) OVERRIDE;
virtual void LaunchNetworkProcess() OVERRIDE;
- virtual void RestartNetworkProcess() OVERRIDE;
private:
scoped_ptr<WorkerProcessLauncher> network_launcher_;
@@ -117,13 +116,6 @@ void DaemonProcessWin::LaunchNetworkProcess() {
caller_task_runner(), delegate.Pass(), this));
}
-void DaemonProcessWin::RestartNetworkProcess() {
- DCHECK(caller_task_runner()->BelongsToCurrentThread());
-
- network_launcher_.reset();
- LaunchNetworkProcess();
-}
-
scoped_ptr<DaemonProcess> DaemonProcess::Create(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
« no previous file with comments | « remoting/host/daemon_process_unittest.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698