|
Add new interface to expose ClientSession details to Host Extensions
Prior to the introduction of HostExtensions, code running in the ClientSession
had access to private state information which it could use to make decisions.
Once this code was moved into a HostExtension, it needed to interact with the
session via the ClientSessionControl interface. This interface was already
being used for other purposes though so it is too easy to pollute it with
methods/properties which the other consumers of the interface don't care about.
My change adds a new, HostExtension specific interface which wraps the
ClientSessionControl interface. It also provides a location to add new
methods/properties specifcally for HostExtensions.
This change uses this new interface by adding the session Id property and
exposing it to Host Extensions. A future CL will update the existing
extensions to ue it.
BUG= 591746
Committed: https://crrev.com/4fa09d9b658fe3a79765eaef2fb58f89bbe84cd6
Cr-Commit-Position: refs/heads/master@{#402288}
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+104 lines, -46 lines) |
Patch |
 |
M |
remoting/host/client_session.h
|
View
|
|
4 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/host/client_session.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/client_session_details.h
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/fake_host_extension.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/fake_host_extension.cc
|
View
|
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_extension.h
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_extension_session.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_extension_session_manager.h
|
View
|
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_extension_session_manager.cc
|
View
|
|
3 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_extension_session_manager_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/host/host_mock_objects.h
|
View
|
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/host_mock_objects.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/gnubby_extension.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/gnubby_extension.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/gnubby_extension_session.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/gnubby_extension_session.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_host_srcs.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 18 (7 generated)
|