diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 01:03:48 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 01:03:48 +0000 |
commit | 739e2803109683fec6e24ecbca3ad16fde7b43c4 (patch) | |
tree | d9459f07d896e6095e91f0590c420ea36495cecc /remoting/host/daemon_process.h | |
parent | 9e359452151c9bbeaff2fee78a8fde678a42749b (diff) | |
download | chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.zip chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.tar.gz chromium_src-739e2803109683fec6e24ecbca3ad16fde7b43c4.tar.bz2 |
Reworked the plumbing required to pass the client resolution to the desktop resizer.
This is mostly a renaming CL:
- DesktopSessionParams -> ScreenResolution
- OnClientResolutionChanged() -> SetScreenResolution().
Also added validation of ScreenResolution before passing it to session controllers.
BUG=196316
Review URL: https://codereview.chromium.org/12678008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/daemon_process.h')
-rw-r--r-- | remoting/host/daemon_process.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h index aed640c..3276315 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. |