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

Side by Side Diff: remoting/host/session_event_executor_win.h

Issue 10837291: [Chromoting] Moving the daemon IPC channel to ChromotingHostContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ 5 #ifndef REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
6 #define REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ 6 #define REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "ipc/ipc_channel.h"
14 #include "remoting/host/event_executor.h" 13 #include "remoting/host/event_executor.h"
15 #include "remoting/host/win/scoped_thread_desktop.h" 14 #include "remoting/host/win/scoped_thread_desktop.h"
16 15
17 namespace base { 16 namespace base {
18 class SingleThreadTaskRunner; 17 class SingleThreadTaskRunner;
19 } // namespace base 18 } // namespace base
20 19
21 namespace IPC {
22 class ChannelProxy;
23 } // namespace IPC
24
25 namespace remoting { 20 namespace remoting {
26 21
27 class SasInjector; 22 class SasInjector;
28 23
29 class SessionEventExecutorWin : public EventExecutor { 24 class SessionEventExecutorWin : public EventExecutor {
30 public: 25 public:
31 SessionEventExecutorWin( 26 SessionEventExecutorWin(
32 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 27 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
33 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
34 scoped_ptr<EventExecutor> nested_executor); 28 scoped_ptr<EventExecutor> nested_executor);
35 ~SessionEventExecutorWin(); 29 ~SessionEventExecutorWin();
36 30
37 // EventExecutor implementation. 31 // EventExecutor implementation.
38 virtual void OnSessionStarted( 32 virtual void OnSessionStarted(
39 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE; 33 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
40 virtual void OnSessionFinished() OVERRIDE; 34 virtual void OnSessionFinished() OVERRIDE;
41 35
42 // protocol::ClipboardStub implementation. 36 // protocol::ClipboardStub implementation.
43 virtual void InjectClipboardEvent( 37 virtual void InjectClipboardEvent(
(...skipping 22 matching lines...) Expand all
66 60
67 base::WeakPtrFactory<SessionEventExecutorWin> weak_ptr_factory_; 61 base::WeakPtrFactory<SessionEventExecutorWin> weak_ptr_factory_;
68 base::WeakPtr<SessionEventExecutorWin> weak_ptr_; 62 base::WeakPtr<SessionEventExecutorWin> weak_ptr_;
69 63
70 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin); 64 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
71 }; 65 };
72 66
73 } // namespace remoting 67 } // namespace remoting
74 68
75 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ 69 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698