Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 99c7ed509963a449f2a799cf36e044f4d7cbe00c..76afb9f3be45d8220d7dc83343485bccdb0fb3b8 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -425,6 +425,17 @@ void ClientSession::SetDisableInputs(bool disable_inputs) { |
disable_clipboard_filter_.set_enabled(!disable_inputs); |
} |
+ClientSessionControl* ClientSession::session_control() { |
+ DCHECK(CalledOnValidThread()); |
+ return this; |
+} |
+ |
+uint32_t ClientSession::desktop_session_id() const { |
+ DCHECK(CalledOnValidThread()); |
+ return desktop_environment_ ? desktop_environment_->GetDesktopSessionId() |
Sergey Ulanov
2016/06/27 19:51:30
nit: maybe allow this function to be called only w
joedow
2016/06/27 21:07:27
Done.
|
+ : UINT32_MAX; |
+} |
+ |
std::unique_ptr<protocol::ClipboardStub> ClientSession::CreateClipboardProxy() { |
DCHECK(CalledOnValidThread()); |