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

Unified Diff: remoting/host/desktop_environment_options.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/client_session_unittest.cc ('k') | remoting/host/desktop_environment_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment_options.h
diff --git a/remoting/host/desktop_environment_options.h b/remoting/host/desktop_environment_options.h
index 31044c64bb14952dee1a355c28fa4c11b95d5c11..15cacfa8125c4d539e40f7a290157f6dd29b93ca 100644
--- a/remoting/host/desktop_environment_options.h
+++ b/remoting/host/desktop_environment_options.h
@@ -8,12 +8,9 @@
#include <memory>
#include "base/memory/weak_ptr.h"
+#include "remoting/host/host_session_options.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
-namespace webrtc {
-class DesktopCaptureOptions;
-} // namespace webrtc
-
namespace remoting {
// A container of options a DesktopEnvironment or its derived classes need to
@@ -42,6 +39,9 @@ class DesktopEnvironmentOptions final {
const webrtc::DesktopCaptureOptions* desktop_capture_options() const;
webrtc::DesktopCaptureOptions* desktop_capture_options();
+ // Reads configurations from a HostSessionOptions instance.
+ void ApplyHostSessionOptions(const HostSessionOptions& options);
+
private:
// Sets default values for default constructor and CreateDefault() function.
void Initialize();
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/desktop_environment_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698