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

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: Minor fixup 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
Index: remoting/host/host_extension.h
diff --git a/remoting/host/host_extension.h b/remoting/host/host_extension.h
index 07c5b775a217b9aec1af5aed88bd933a47ccbf1a..4fa6b3b20983f98b79cc2ff61b7fc6d1826925bf 100644
--- a/remoting/host/host_extension.h
+++ b/remoting/host/host_extension.h
@@ -8,10 +8,9 @@
#include <memory>
#include <string>
-
namespace remoting {
-class ClientSessionControl;
+class ClientSessionDetails;
class HostExtensionSession;
namespace protocol {
@@ -31,13 +30,13 @@ class HostExtension {
// with a capability.
virtual std::string capability() const = 0;
- // Creates an extension session, which can handle extension messages for a
+ // Creates an extension session, which handles extension messages for a
// client session.
- // |client_session_control| may be used to e.g. disconnect the session.
+ // |client_session_details| provides session details and control methods.
// |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,
protocol::ClientStub* client_stub) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698