blob: 83b6aa46b06804d20d3fe4b83c139df7b7f834b6 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdint>
namespace remoting {
class ClientSessionControl;
// Provides ClientSession control and state information to HostExtensions.
class ClientSessionDetails {
virtual ~ClientSessionDetails() {}
// Returns a ClientSessionControl interface pointer used to interact with the
// current session.
virtual ClientSessionControl* session_control() = 0;
// Returns the id of the current desktop session being remoted. If no session
// exists, UINT32_MAX is returned.
// Note: The return value should never be cached as it can change.
virtual uint32_t desktop_session_id() const = 0;
} // namespace remoting