Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / remoting / host / ipc_screen_controls.h
blob48daa16bb332f4114f4b3540905cc7b75723c1b5
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_IPC_SCREEN_CONTROLS_H_
6 #define REMOTING_HOST_IPC_SCREEN_CONTROLS_H_
8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h"
10 #include "remoting/host/screen_controls.h"
12 namespace remoting {
14 class DesktopSessionProxy;
15 class ScreenResolution;
17 class IpcScreenControls : public ScreenControls {
18 public:
19 explicit IpcScreenControls(
20 scoped_refptr<DesktopSessionProxy> desktop_session_proxy);
21 virtual ~IpcScreenControls();
23 // SessionController interface.
24 virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
26 private:
27 // Wraps the IPC channel to the desktop session agent.
28 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
30 DISALLOW_COPY_AND_ASSIGN(IpcScreenControls);
33 } // namespace remoting
35 #endif // REMOTING_HOST_IPC_SCREEN_CONTROLS_H_