| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 // True if |this| is subsribed to receive session attach/detach notifications. | 125 // True if |this| is subsribed to receive session attach/detach notifications. |
| 126 bool monitoring_notifications_; | 126 bool monitoring_notifications_; |
| 127 | 127 |
| 128 // Used to report an error if the session attach notification does not arrives | 128 // Used to report an error if the session attach notification does not arrives |
| 129 // for too long. | 129 // for too long. |
| 130 base::OneShotTimer session_attach_timer_; | 130 base::OneShotTimer session_attach_timer_; |
| 131 | 131 |
| 132 base::Time last_timestamp_; | 132 base::Time last_timestamp_; |
| 133 | 133 |
| 134 // The id of the current desktop session being remoted or UINT32_MAX if no |
| 135 // session exists. |
| 136 int session_id_ = UINT32_MAX; |
| 137 |
| 134 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); | 138 DISALLOW_COPY_AND_ASSIGN(DesktopSessionWin); |
| 135 }; | 139 }; |
| 136 | 140 |
| 137 } // namespace remoting | 141 } // namespace remoting |
| 138 | 142 |
| 139 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ | 143 #endif // REMOTING_HOST_DESKTOP_SESSION_WIN_H_ |
| OLD | NEW |