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

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

Issue 10048003: The Chromoting service should not start automatically unless it was configured from the webapp to d… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased. Created 8 years, 8 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/elevated_controller_win.cc ('k') | remoting/host/host_service_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_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/file_path.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Service message loop. 92 // Service message loop.
93 MessageLoop* message_loop_; 93 MessageLoop* message_loop_;
94 94
95 // The action routine to be executed. 95 // The action routine to be executed.
96 int (HostService::*run_routine_)(); 96 int (HostService::*run_routine_)();
97 97
98 // The service name. 98 // The service name.
99 string16 service_name_; 99 string16 service_name_;
100 100
101 // The service status structure.
102 SERVICE_STATUS service_status_;
103
104 // The service status handle. 101 // The service status handle.
105 SERVICE_STATUS_HANDLE service_status_handle_; 102 SERVICE_STATUS_HANDLE service_status_handle_;
106 103
107 // True if the service is being stopped. 104 // True if the service is being stopped.
108 bool shutting_down_; 105 bool shutting_down_;
109 106
110 // A waitable event that is used to wait until the service is stopped. 107 // A waitable event that is used to wait until the service is stopped.
111 base::WaitableEvent stopped_event_; 108 base::WaitableEvent stopped_event_;
112 109
113 // Singleton. 110 // Singleton.
114 friend struct DefaultSingletonTraits<HostService>; 111 friend struct DefaultSingletonTraits<HostService>;
115 112
116 DISALLOW_COPY_AND_ASSIGN(HostService); 113 DISALLOW_COPY_AND_ASSIGN(HostService);
117 }; 114 };
118 115
119 } // namespace remoting 116 } // namespace remoting
120 117
121 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_ 118 #endif // REMOTING_HOST_HOST_SERVICE_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/elevated_controller_win.cc ('k') | remoting/host/host_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698