Move DesktopEnvironmentOptions to //remoting/host/base
This CL moves a common header+impl to the new base folder as it will
be referenced in a follow-up IPC macro conversion CL. As part of this
change I am removing the Windows dependency that class has as it calls
IsD3DAvailable() in the c'tor which is a blocking call. It doesn't
seem right that creating an instance should spin up another process
and block on the results (especially for what appears to be a simple
struct-like class).
Change-Id: I01d1aea8ae6ee99df1f14bf7186dbabd8becf841
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3336416
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Yuwei Huang <[email protected]>
Commit-Queue: Joe Downing <[email protected]>
Cr-Commit-Position: refs/heads/main@{#951639}
diff --git a/remoting/host/desktop_session_agent_unittest.cc b/remoting/host/desktop_session_agent_unittest.cc
index d2da93f..bdc0a7d3 100644
--- a/remoting/host/desktop_session_agent_unittest.cc
+++ b/remoting/host/desktop_session_agent_unittest.cc
@@ -19,9 +19,9 @@
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_listener.h"
#include "remoting/base/auto_thread_task_runner.h"
+#include "remoting/host/base/desktop_environment_options.h"
#include "remoting/host/base/screen_resolution.h"
#include "remoting/host/chromoting_messages.h"
-#include "remoting/host/desktop_environment_options.h"
#include "remoting/host/fake_desktop_environment.h"
#include "testing/gtest/include/gtest/gtest.h"