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

Unified Diff: remoting/host/daemon_process_win.cc

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 7 years, 9 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/daemon_process_unittest.cc ('k') | remoting/host/desktop_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process_win.cc
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
index 75537ddf23d770ff3acf1086a85b584a7baaf575..d84783879d76fd63f0348d9da99267bc3d365868 100644
--- a/remoting/host/daemon_process_win.cc
+++ b/remoting/host/daemon_process_win.cc
@@ -25,6 +25,7 @@
#include "remoting/host/host_exit_codes.h"
#include "remoting/host/host_main.h"
#include "remoting/host/ipc_constants.h"
+#include "remoting/host/screen_resolution.h"
#include "remoting/host/win/launch_process_with_token.h"
#include "remoting/host/win/unprivileged_process_delegate.h"
#include "remoting/host/win/worker_process_launcher.h"
@@ -65,7 +66,7 @@ class DaemonProcessWin : public DaemonProcess {
// DaemonProcess implementation.
virtual scoped_ptr<DesktopSession> DoCreateDesktopSession(
int terminal_id,
- const DesktopSessionParams& params,
+ const ScreenResolution& resolution,
bool virtual_terminal) OVERRIDE;
virtual void DoCrashNetworkProcess(
const tracked_objects::Location& location) OVERRIDE;
@@ -146,16 +147,16 @@ void DaemonProcessWin::DoStop() {
scoped_ptr<DesktopSession> DaemonProcessWin::DoCreateDesktopSession(
int terminal_id,
- const DesktopSessionParams& params,
+ const ScreenResolution& resolution,
bool virtual_terminal) {
DCHECK(caller_task_runner()->BelongsToCurrentThread());
if (virtual_terminal) {
return DesktopSessionWin::CreateForVirtualTerminal(
- caller_task_runner(), io_task_runner(), this, terminal_id, params);
+ caller_task_runner(), io_task_runner(), this, terminal_id, resolution);
} else {
return DesktopSessionWin::CreateForConsole(
- caller_task_runner(), io_task_runner(), this, terminal_id, params);
+ caller_task_runner(), io_task_runner(), this, terminal_id, resolution);
}
}
« no previous file with comments | « remoting/host/daemon_process_unittest.cc ('k') | remoting/host/desktop_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698