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

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

Issue 9476017: Chromoting service now launches the host process in the session the is currently attached to the ph… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing scoped_ptr<ScopedHandle>. Created 8 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 unified diff | Download patch | Annotate | Revision Log
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_HOST_SERVICE_WIN_H_ 5 #ifndef REMOTING_HOST_HOST_SERVICE_WIN_H_
6 #define REMOTING_HOST_HOST_SERVICE_WIN_H_ 6 #define REMOTING_HOST_HOST_SERVICE_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/file_path.h"
10 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
11 #include "base/observer_list.h" 12 #include "base/observer_list.h"
12 #include "base/string16.h" 13 #include "base/string16.h"
13 #include "base/synchronization/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
14 15
15 #include "remoting/host/wts_console_monitor_win.h" 16 #include "remoting/host/wts_console_monitor_win.h"
16 17
17 class CommandLine; 18 class CommandLine;
18 class MessageLoop; 19 class MessageLoop;
19 20
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 WPARAM wparam, 79 WPARAM wparam,
79 LPARAM lparam); 80 LPARAM lparam);
80 81
81 // Current physical console session id. 82 // Current physical console session id.
82 uint32 console_session_id_; 83 uint32 console_session_id_;
83 84
84 // The list of observers receiving notifications about any session attached 85 // The list of observers receiving notifications about any session attached
85 // to the physical console. 86 // to the physical console.
86 ObserverList<WtsConsoleObserver> console_observers_; 87 ObserverList<WtsConsoleObserver> console_observers_;
87 88
89 // The host binary name.
90 FilePath host_binary_;
91
88 // Service message loop. 92 // Service message loop.
89 MessageLoop* message_loop_; 93 MessageLoop* message_loop_;
90 94
91 // The action routine to be executed. 95 // The action routine to be executed.
92 int (HostService::*run_routine_)(); 96 int (HostService::*run_routine_)();
93 97
94 // The service name. 98 // The service name.
95 string16 service_name_; 99 string16 service_name_;
96 100
97 // The service status structure. 101 // The service status structure.
(...skipping 10 matching lines...) Expand all
108 112
109 // Singleton. 113 // Singleton.
110 friend struct DefaultSingletonTraits<HostService>; 114 friend struct DefaultSingletonTraits<HostService>;
111 115
112 DISALLOW_COPY_AND_ASSIGN(HostService); 116 DISALLOW_COPY_AND_ASSIGN(HostService);
113 }; 117 };
114 118
115 } // namespace remoting 119 } // namespace remoting
116 120
117 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_ 121 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/host_service_win.cc » ('j') | remoting/host/wts_session_process_launcher_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698