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

Unified Diff: remoting/host/desktop_environment.h

Issue 2092483002: Provide access to the ID for the remoted Windows session in the network process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rsk_main
Patch Set: Addressing CR Feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index ec984c5a4467316cf2a36673d66388f93e289093..a98281c29963a389b0932e50856183822a0924a8 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_H_
#define REMOTING_HOST_DESKTOP_ENVIRONMENT_H_
+#include <cstdint>
#include <memory>
#include <string>
@@ -53,6 +54,10 @@ class DesktopEnvironment {
// Passes the final set of capabilities negotiated between the client and host
// to |this|.
virtual void SetCapabilities(const std::string& capabilities) = 0;
+
+ // Returns an id which identifies the current desktop session on Windows.
+ // Other platforms will always return the default value (UINT32_MAX).
+ virtual uint32_t GetDesktopSessionId() const = 0;
};
// Used to create |DesktopEnvironment| instances.
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698