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

Unified Diff: remoting/host/host_extension_session_manager.h

Issue 2091553002: Expose ClientSession details to Host Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop_environment
Patch Set: Adressing 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/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_extension_session_manager.h
diff --git a/remoting/host/host_extension_session_manager.h b/remoting/host/host_extension_session_manager.h
index cea26117101e3150765b73d997b07a856d727b74..6925b8dfcde1adbc15ac581c4aa3ff93921f4004 100644
--- a/remoting/host/host_extension_session_manager.h
+++ b/remoting/host/host_extension_session_manager.h
@@ -5,23 +5,17 @@
#ifndef REMOTING_HOST_HOST_EXTENSION_SESSION_MANAGER_H_
#define REMOTING_HOST_HOST_EXTENSION_SESSION_MANAGER_H_
-#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
-namespace webrtc {
-class DesktopCapturer;
-}
-
namespace remoting {
-class ClientSessionControl;
+class ClientSessionDetails;
class HostExtension;
class HostExtensionSession;
-class VideoEncoder;
namespace protocol {
class ClientStub;
@@ -37,7 +31,7 @@ class HostExtensionSessionManager {
// Creates an extension manager for the specified |extensions|.
HostExtensionSessionManager(const HostExtensions& extensions,
- ClientSessionControl* client_session_control);
+ ClientSessionDetails* client_session_details);
virtual ~HostExtensionSessionManager();
// Returns the union of all capabilities supported by registered extensions.
@@ -58,7 +52,7 @@ class HostExtensionSessionManager {
// Passed to HostExtensionSessions to allow them to send messages,
// disconnect the session, etc.
- ClientSessionControl* client_session_control_;
+ ClientSessionDetails* client_session_details_;
protocol::ClientStub* client_stub_;
// The HostExtensions to instantiate for the session, if it reaches the
« no previous file with comments | « remoting/host/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698