OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_HOST_CLIENT_SESSION_DETAILS_H_ |
| 6 #define REMOTING_HOST_CLIENT_SESSION_DETAILS_H_ |
| 7 |
| 8 #include <cstdint> |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 // Provides a selected set of state information about a ClientSession to |
| 13 // HostExtensions. |
| 14 class ClientSessionDetails { |
| 15 public: |
| 16 virtual ~ClientSessionDetails() {} |
| 17 |
| 18 // Returns the id of the current desktop session being remoted. If no session |
| 19 // exists, UINT32_MAX is returned. |
| 20 // Note: The return value should never be cached as it can change. |
| 21 virtual uint32_t desktop_session_id() const = 0; |
| 22 }; |
| 23 |
| 24 } // namespace remoting |
| 25 |
| 26 #endif // REMOTING_HOST_CLIENT_SESSION_DETAILS_H_ |
OLD | NEW |