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

Unified Diff: remoting/host/host_extension.h

Issue 2091553002: Expose ClientSession details to Host Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop_environment
Patch Set: Merging with ToT 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/fake_host_extension.cc ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_extension.h
diff --git a/remoting/host/host_extension.h b/remoting/host/host_extension.h
index 07c5b775a217b9aec1af5aed88bd933a47ccbf1a..eb4cb971eb3ac3b4b1285077e09d609c2a4315e5 100644
--- a/remoting/host/host_extension.h
+++ b/remoting/host/host_extension.h
@@ -8,10 +8,10 @@
#include <memory>
#include <string>
-
namespace remoting {
class ClientSessionControl;
+class ClientSessionDetails;
class HostExtensionSession;
namespace protocol {
@@ -34,10 +34,12 @@ class HostExtension {
// Creates an extension session, which can handle extension messages for a
// client session.
// |client_session_control| may be used to e.g. disconnect the session.
+ // |client_session_details| provides details about the current client session.
// |client_stub| may be used to send messages to the session.
// Both interfaces are valid for the lifetime of the |HostExtensionSession|.
virtual std::unique_ptr<HostExtensionSession> CreateExtensionSession(
ClientSessionControl* client_session_control,
+ ClientSessionDetails* client_session_details,
Sergey Ulanov 2016/06/23 22:41:28 Do we really need to have ClientSessionDetails sep
protocol::ClientStub* client_stub) = 0;
};
« no previous file with comments | « remoting/host/fake_host_extension.cc ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698