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

Unified Diff: remoting/host/daemon_process.h

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/client_session.cc ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process.h
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index aed640c21348d4556c21dec4aac1fa25a05295ab..3276315c8474e9de053f430e2b2f6a3eec30d91d 100644
--- a/remoting/host/daemon_process.h
+++ b/remoting/host/daemon_process.h
@@ -32,9 +32,9 @@ namespace remoting {
class AutoThreadTaskRunner;
class DesktopSession;
-struct DesktopSessionParams;
class HostEventLogger;
class HostStatusObserver;
+class ScreenResolution;
// This class implements core of the daemon process. It manages the networking
// process running at lower privileges and maintains the list of desktop
@@ -94,7 +94,7 @@ class DaemonProcess
// Creates a desktop session and assigns a unique ID to it.
void CreateDesktopSession(int terminal_id,
- const DesktopSessionParams& params,
+ const ScreenResolution& resolution,
bool virtual_terminal);
// Requests the network process to crash.
@@ -126,7 +126,7 @@ class DaemonProcess
// An implementation should validate |params| as they are received via IPC.
virtual scoped_ptr<DesktopSession> DoCreateDesktopSession(
int terminal_id,
- const DesktopSessionParams& params,
+ const ScreenResolution& resolution,
bool virtual_terminal) = 0;
// Requests the network process to crash.
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698