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

Unified Diff: remoting/host/desktop_session_proxy.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/desktop_environment.h ('k') | remoting/host/desktop_session_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_proxy.h
diff --git a/remoting/host/desktop_session_proxy.h b/remoting/host/desktop_session_proxy.h
index 55591463dbbdf45bb21ce136b32a89115883f8b5..01222a825dca5e99ce67d3e41bdf297958feedbb 100644
--- a/remoting/host/desktop_session_proxy.h
+++ b/remoting/host/desktop_session_proxy.h
@@ -5,8 +5,7 @@
#ifndef REMOTING_HOST_DESKTOP_SESSION_PROXY_H_
#define REMOTING_HOST_DESKTOP_SESSION_PROXY_H_
-#include <stdint.h>
-
+#include <cstdint>
#include <map>
#include <memory>
@@ -44,7 +43,6 @@ struct SerializedDesktopFrame;
namespace remoting {
class AudioPacket;
-class ClientSession;
class ClientSessionControl;
class DesktopSessionConnector;
struct DesktopSessionProxyTraits;
@@ -136,6 +134,8 @@ class DesktopSessionProxy
// API used to implement the SessionController interface.
void SetScreenResolution(const ScreenResolution& resolution);
+ uint32_t desktop_session_id() const { return desktop_session_id_; }
+
private:
friend class base::DeleteHelper<DesktopSessionProxy>;
friend struct DesktopSessionProxyTraits;
@@ -226,6 +226,9 @@ class DesktopSessionProxy
// True if touch events are supported by the desktop session.
bool supports_touch_events_;
+ // Stores the session id for the proxied desktop process.
+ uint32_t desktop_session_id_ = UINT32_MAX;
+
DISALLOW_COPY_AND_ASSIGN(DesktopSessionProxy);
};
« no previous file with comments | « remoting/host/desktop_environment.h ('k') | remoting/host/desktop_session_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698