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

Side by Side Diff: remoting/host/win/host_service.h

Issue 10832054: Removing --host-binary parameter in preparation to the coming me2me host refactoring. (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/sas_injector_win.cc ('k') | remoting/host/win/host_service.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_WIN_HOST_SERVICE_H_ 5 #ifndef REMOTING_HOST_WIN_HOST_SERVICE_H_
6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_ 6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/file_path.h"
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
12 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
13 #include "base/observer_list.h" 12 #include "base/observer_list.h"
14 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
15 #include "remoting/host/win/wts_console_monitor.h" 14 #include "remoting/host/win/wts_console_monitor.h"
16 15
17 class CommandLine; 16 class CommandLine;
18 class MessageLoop; 17 class MessageLoop;
19 18
20 namespace base { 19 namespace base {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 80
82 // Current physical console session id. 81 // Current physical console session id.
83 uint32 console_session_id_; 82 uint32 console_session_id_;
84 83
85 // The list of observers receiving notifications about any session attached 84 // The list of observers receiving notifications about any session attached
86 // to the physical console. 85 // to the physical console.
87 ObserverList<WtsConsoleObserver> console_observers_; 86 ObserverList<WtsConsoleObserver> console_observers_;
88 87
89 scoped_ptr<WtsSessionProcessLauncher> launcher_; 88 scoped_ptr<WtsSessionProcessLauncher> launcher_;
90 89
91 // The host binary name.
92 FilePath host_binary_;
93
94 // Service message loop. 90 // Service message loop.
95 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; 91 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
96 92
97 // The action routine to be executed. 93 // The action routine to be executed.
98 int (HostService::*run_routine_)(); 94 int (HostService::*run_routine_)();
99 95
100 // The service name. 96 // The service name.
101 std::wstring service_name_; 97 std::wstring service_name_;
102 98
103 // The service status handle. 99 // The service status handle.
104 SERVICE_STATUS_HANDLE service_status_handle_; 100 SERVICE_STATUS_HANDLE service_status_handle_;
105 101
106 // A waitable event that is used to wait until the service is stopped. 102 // A waitable event that is used to wait until the service is stopped.
107 base::WaitableEvent stopped_event_; 103 base::WaitableEvent stopped_event_;
108 104
109 // Singleton. 105 // Singleton.
110 friend struct DefaultSingletonTraits<HostService>; 106 friend struct DefaultSingletonTraits<HostService>;
111 107
112 DISALLOW_COPY_AND_ASSIGN(HostService); 108 DISALLOW_COPY_AND_ASSIGN(HostService);
113 }; 109 };
114 110
115 } // namespace remoting 111 } // namespace remoting
116 112
117 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ 113 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_
OLDNEW
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/win/host_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698