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

Unified Diff: remoting/host/desktop_session_agent_posix.cc

Issue 12087073: Pass a DesktopEnvironmentFactory when creating DesktopProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not create the audio capturer if audio is not supported Created 7 years, 11 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/desktop_session_agent_posix.cc
diff --git a/remoting/host/desktop_session_agent_posix.cc b/remoting/host/desktop_session_agent_posix.cc
index b0adc278f25bc28aa1a6df346e4c017103e9f371..e48991d1adb3561e14973ad6a401a8d9e8f54fb6 100644
--- a/remoting/host/desktop_session_agent_posix.cc
+++ b/remoting/host/desktop_session_agent_posix.cc
@@ -14,7 +14,6 @@
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_proxy.h"
#include "remoting/base/auto_thread_task_runner.h"
-#include "remoting/host/event_executor.h"
namespace remoting {
@@ -35,7 +34,6 @@ class DesktopSessionAgentPosix : public DesktopSessionAgent {
virtual bool CreateChannelForNetworkProcess(
IPC::PlatformFileForTransit* client_out,
scoped_ptr<IPC::ChannelProxy>* server_out) OVERRIDE;
- virtual scoped_ptr<EventExecutor> CreateEventExecutor() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgentPosix);
@@ -93,13 +91,6 @@ bool DesktopSessionAgentPosix::CreateChannelForNetworkProcess(
return true;
}
-scoped_ptr<EventExecutor> DesktopSessionAgentPosix::CreateEventExecutor() {
- DCHECK(caller_task_runner()->BelongsToCurrentThread());
-
- return EventExecutor::Create(input_task_runner(),
- caller_task_runner()).Pass();
-}
-
// static
scoped_refptr<DesktopSessionAgent> DesktopSessionAgent::Create(
scoped_refptr<AutoThreadTaskRunner> audio_capture_task_runner,

Powered by Google App Engine
This is Rietveld 408576698