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

Unified Diff: remoting/host/desktop_session_agent.h

Issue 2529533003: Pass DesktopEnvironmentOptions form network to desktop process. (Closed)
Patch Set: Created 4 years, 1 month 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.h
diff --git a/remoting/host/desktop_session_agent.h b/remoting/host/desktop_session_agent.h
index d31ad8bc4403e60a0e0df1071fb592d22b84fb7c..fff1e21c8a64a30a98fbfde613834a7cfff040ed 100644
--- a/remoting/host/desktop_session_agent.h
+++ b/remoting/host/desktop_session_agent.h
@@ -71,8 +71,7 @@ class DesktopSessionAgent
scoped_refptr<AutoThreadTaskRunner> audio_capture_task_runner,
scoped_refptr<AutoThreadTaskRunner> caller_task_runner,
scoped_refptr<AutoThreadTaskRunner> input_task_runner,
- scoped_refptr<AutoThreadTaskRunner> io_task_runner,
- const DesktopEnvironmentOptions& options);
+ scoped_refptr<AutoThreadTaskRunner> io_task_runner);
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;
@@ -116,7 +115,7 @@ class DesktopSessionAgent
// Handles StartSessionAgent request from the client.
void OnStartSessionAgent(const std::string& authenticated_jid,
const ScreenResolution& resolution,
- bool virtual_terminal);
+ const DesktopEnvironmentOptions& options);
// Handles CaptureFrame requests from the client.
void OnCaptureFrame();
@@ -192,8 +191,6 @@ class DesktopSessionAgent
// before it's received.
std::unique_ptr<webrtc::DesktopFrame> last_frame_;
- DesktopEnvironmentOptions desktop_environment_options_;
-
// Used to disable callbacks to |this|.
base::WeakPtrFactory<DesktopSessionAgent> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698