OLD | NEW |
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 <list> | 10 #include <list> |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 // A waitable event that is used to wait until the service is stopped. | 116 // A waitable event that is used to wait until the service is stopped. |
117 base::WaitableEvent stopped_event_; | 117 base::WaitableEvent stopped_event_; |
118 | 118 |
119 base::WeakPtr<HostService> weak_ptr_; | 119 base::WeakPtr<HostService> weak_ptr_; |
120 | 120 |
121 // Used to post session change notifications and control events. | 121 // Used to post session change notifications and control events. |
122 base::WeakPtrFactory<HostService> weak_factory_; | 122 base::WeakPtrFactory<HostService> weak_factory_; |
123 | 123 |
124 // Singleton. | 124 // Singleton. |
125 friend struct DefaultSingletonTraits<HostService>; | 125 friend struct base::DefaultSingletonTraits<HostService>; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(HostService); | 127 DISALLOW_COPY_AND_ASSIGN(HostService); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace remoting | 130 } // namespace remoting |
131 | 131 |
132 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ | 132 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ |
OLD | NEW |