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

Unified Diff: remoting/host/ipc_desktop_environment.h

Issue 1673723002: Use IpcVideoFrameCapturer on network thread instead of capturer thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_desktop_environment.h
diff --git a/remoting/host/ipc_desktop_environment.h b/remoting/host/ipc_desktop_environment.h
index c874337e03e57e85e958faed6bd76a26a59dd360..6d8cb7a1190b2e796775732df0efb7e27ce8755f 100644
--- a/remoting/host/ipc_desktop_environment.h
+++ b/remoting/host/ipc_desktop_environment.h
@@ -41,7 +41,6 @@ class IpcDesktopEnvironment : public DesktopEnvironment {
IpcDesktopEnvironment(
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control,
base::WeakPtr<DesktopSessionConnector> desktop_session_connector,
@@ -77,7 +76,6 @@ class IpcDesktopEnvironmentFactory
IpcDesktopEnvironmentFactory(
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
IPC::Sender* daemon_channel);
~IpcDesktopEnvironmentFactory() override;
@@ -114,14 +112,11 @@ class IpcDesktopEnvironmentFactory
// be called.
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
- // Used to run the video capturer.
- scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner_;
-
// Task runner used for running background I/O.
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
// True if curtain mode is enabled.
- bool curtain_enabled_;
+ bool curtain_enabled_ = false;
// IPC channel connected to the daemon process.
IPC::Sender* daemon_channel_;
@@ -133,15 +128,15 @@ class IpcDesktopEnvironmentFactory
// Next desktop session ID. IDs are allocated sequentially starting from 0.
// This gives us more than 67 years of unique IDs assuming a new ID is
// allocated every second.
- int next_id_;
+ int next_id_ = 0;
+
+ // Defines whether desktop environments created by this factory will support
+ // touch events by default.
+ bool supports_touch_events_ = false;
// Factory for weak pointers to DesktopSessionConnector interface.
base::WeakPtrFactory<DesktopSessionConnector> connector_factory_;
- // If true then the newly Create()ed desktop environments support touch
- // events.
- bool supports_touch_events_;
-
DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
};
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698