Provide access to the ID for the remoted Windows session in the network process
This change updates the DesktopSessionProxy (which maintains an IPC connection
with the desktop process) to query for the session ID when connection its IPC
channel. This session ID is then plumbed through the desktop environment
classes for use by the ClientSession in a later CL.
BUG=591746
Review-Url: https://codereview.chromium.org/2092483002
Cr-Commit-Position: refs/heads/master@{#401815}
diff --git a/remoting/host/basic_desktop_environment.h b/remoting/host/basic_desktop_environment.h
index 8eb9e710..5bf983aec 100644
--- a/remoting/host/basic_desktop_environment.h
+++ b/remoting/host/basic_desktop_environment.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
#define REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
+#include <cstdint>
#include <memory>
#include <string>
@@ -36,6 +37,7 @@
override;
std::string GetCapabilities() const override;
void SetCapabilities(const std::string& capabilities) override;
+ uint32_t GetDesktopSessionId() const override;
protected:
friend class BasicDesktopEnvironmentFactory;