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

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

Issue 2091553002: Expose ClientSession details to Host Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop_environment
Patch Set: Merging with ToT Created 4 years, 6 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698