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

Unified Diff: remoting/host/win/wts_session_process_launcher.h

Issue 10855249: [Chromoting] The daemon process now starts the networking process and passes the host configuration… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback + rebased on top of https://chromiumcodereview.appspot.com/10829467/ (Patch Set 5) Created 8 years, 4 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/win/wts_session_process_launcher.h
diff --git a/remoting/host/win/wts_session_process_launcher.h b/remoting/host/win/wts_session_process_launcher.h
index e5227481ff86584decf716028bbf139909fd25d2..426ddb858bb73042989fa4f4f0540030c90e185b 100644
--- a/remoting/host/win/wts_session_process_launcher.h
+++ b/remoting/host/win/wts_session_process_launcher.h
@@ -9,6 +9,8 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/file_path.h"
+#include "base/file_util.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
@@ -20,16 +22,12 @@
#include "remoting/base/stoppable.h"
#include "remoting/host/win/worker_process_launcher.h"
#include "remoting/host/win/wts_console_observer.h"
+#include "remoting/host/worker_process_delegate.h"
namespace base {
class SingleThreadTaskRunner;
} // namespace base
-namespace IPC {
-class ChannelProxy;
-class Message;
-} // namespace IPC
-
namespace remoting {
class WtsConsoleMonitor;
@@ -37,6 +35,7 @@ class WtsConsoleMonitor;
class WtsSessionProcessLauncher
: public base::MessagePumpForIO::IOHandler,
public Stoppable,
+ public WorkerProcessDelegate,
public WorkerProcessLauncher::Delegate,
public WtsConsoleObserver {
public:
@@ -57,13 +56,15 @@ class WtsSessionProcessLauncher
DWORD bytes_transferred,
DWORD error) OVERRIDE;
+ // WorkerProcessDelegate implementation.
+ virtual void OnChannelConnected() OVERRIDE;
+ virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+
// WorkerProcessLauncher::Delegate implementation.
virtual bool DoLaunchProcess(
const std::string& channel_name,
base::win::ScopedHandle* process_exit_event_out) OVERRIDE;
virtual void DoKillProcess(DWORD exit_code) OVERRIDE;
- virtual void OnChannelConnected() OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
// WtsConsoleObserver implementation.
virtual void OnSessionAttached(uint32 session_id) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698