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

Unified Diff: remoting/host/fake_desktop_environment.h

Issue 2615113005: [Chromoting] Use HostExperimentSessionPlugin in host (Closed)
Patch Set: Resolve review comments Created 3 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_environment_options.cc ('k') | remoting/host/fake_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/fake_desktop_environment.h
diff --git a/remoting/host/fake_desktop_environment.h b/remoting/host/fake_desktop_environment.h
index 956ca505da6a79c9491082406c1aa5590c17d9d0..116678e5579d0049e6ab5f05777b41598b77af8d 100644
--- a/remoting/host/fake_desktop_environment.h
+++ b/remoting/host/fake_desktop_environment.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "remoting/host/desktop_environment.h"
+#include "remoting/host/desktop_environment_options.h"
#include "remoting/host/fake_mouse_cursor_monitor.h"
#include "remoting/host/input_injector.h"
#include "remoting/host/screen_controls.h"
@@ -73,7 +74,8 @@ class FakeDesktopEnvironment
public base::SupportsWeakPtr<FakeDesktopEnvironment> {
public:
explicit FakeDesktopEnvironment(
- scoped_refptr<base::SingleThreadTaskRunner> capture_thread);
+ scoped_refptr<base::SingleThreadTaskRunner> capture_thread,
+ const DesktopEnvironmentOptions& options);
~FakeDesktopEnvironment() override;
// Sets frame generator to be used for protocol::FakeDesktopCapturer created
@@ -83,6 +85,8 @@ class FakeDesktopEnvironment
frame_generator_ = frame_generator;
}
+ const DesktopEnvironmentOptions& options() const;
+
// DesktopEnvironment implementation.
std::unique_ptr<AudioCapturer> CreateAudioCapturer() override;
std::unique_ptr<InputInjector> CreateInputInjector() override;
@@ -104,6 +108,8 @@ class FakeDesktopEnvironment
base::WeakPtr<FakeInputInjector> last_input_injector_;
+ const DesktopEnvironmentOptions options_;
+
DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironment);
};
« no previous file with comments | « remoting/host/desktop_environment_options.cc ('k') | remoting/host/fake_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698