Add FileProxyWrapperLinux provided by BasicDesktopEnvironment

Desktop / Chromium - Joseph Arhar [google.com] - 14 August 2017 18:31 EDT

This provides the classes to implement FileTransferProxies on Linux without the implementation done, and shows how the factory is wired up with DesktopEnvironment and ClientSession.

Bug: Change-Id: I393e69f341f5d06cd290e6350f56aa9eb43aa9ca Reviewed-on: https://chromium-review.googlesource.com/610627 Commit-Queue: Joseph Arhar

91537d5 Add FileProxyWrapperLinux provided by BasicDesktopEnvironment
remoting/host/BUILD.gn | 5 +-
remoting/host/basic_desktop_environment.cc | 6 ++
remoting/host/basic_desktop_environment.h | 1 +
remoting/host/client_session.cc | 16 ++++-
remoting/host/client_session.h | 8 +--
remoting/host/desktop_environment.h | 2 +
remoting/host/fake_desktop_environment.cc | 6 ++
remoting/host/fake_desktop_environment.h | 1 +
remoting/host/file_proxy_wrapper.h | 3 +
remoting/host/file_proxy_wrapper_linux.cc | 68 ++++++++++++++++++++++
remoting/host/file_proxy_wrapper_mac.cc | 17 ++++++
remoting/host/file_proxy_wrapper_win.cc | 16 +++++
remoting/host/file_transfer_message_handler.cc | 3 +-
remoting/host/file_transfer_message_handler.h | 6 +-
.../host/file_transfer_message_handler_factory.cc | 25 --------
.../host/file_transfer_message_handler_factory.h | 28 ---------
remoting/host/host_mock_objects.cc | 6 ++
remoting/host/host_mock_objects.h | 2 +
remoting/host/ipc_desktop_environment.cc | 6 ++
remoting/host/ipc_desktop_environment.h | 1 +
20 files changed, 163 insertions(+), 63 deletions(-)

Upstream: git.chromium.org


  • Share