summaryrefslogtreecommitdiffstats
path: root/remoting/host/ipc_session_controller.cc
blob: d82be6068dc65019780a5a68033ea0d2ff97c1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/host/ipc_session_controller.h"

#include "base/logging.h"
#include "remoting/host/desktop_session_proxy.h"

namespace remoting {

IpcSessionController::IpcSessionController(
    scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
    : desktop_session_proxy_(desktop_session_proxy) {
}

IpcSessionController::~IpcSessionController() {
}

void IpcSessionController::SetScreenResolution(
    const ScreenResolution& resolution) {
  desktop_session_proxy_->SetScreenResolution(resolution);
}

}  // namespace remoting