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_DESKTOP_SESSION_WIN_H_ | 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_WIN_H_ |
6 #define REMOTING_HOST_DESKTOP_SESSION_WIN_H_ | 6 #define REMOTING_HOST_DESKTOP_SESSION_WIN_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 scoped_ptr<WorkerProcessLauncher> launcher_; | 116 scoped_ptr<WorkerProcessLauncher> launcher_; |
117 | 117 |
118 // Used to unsubscribe from session attach and detach events. | 118 // Used to unsubscribe from session attach and detach events. |
119 WtsTerminalMonitor* monitor_; | 119 WtsTerminalMonitor* monitor_; |
120 | 120 |
121 // True if |this| is subsribed to receive session attach/detach notifications. | 121 // True if |this| is subsribed to receive session attach/detach notifications. |
122 bool monitoring_notifications_; | 122 bool monitoring_notifications_; |
123 | 123 |
124 // Used to report an error if the session attach notification does not arrives | 124 // Used to report an error if the session attach notification does not arrives |
125 // for too long. | 125 // for too long. |
126 base::OneShotTimer<DesktopSessionWin> session_attach_timer_; | 126 base::OneShotTimer session_attach_timer_; |
127 | 127 |
128 base::Time last_timestamp_; | 128 base::Time last_timestamp_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); | 130 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace remoting | 133 } // namespace remoting |
134 | 134 |
135 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ | 135 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ |
OLD | NEW |