OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/disconnect_window.h" | 5 #include "remoting/host/disconnect_window.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 namespace { | 10 namespace { |
11 class DisconnectWindowLinux : public remoting::DisconnectWindow { | 11 class DisconnectWindowLinux : public remoting::DisconnectWindow { |
12 public: | 12 public: |
13 DisconnectWindowLinux() {} | 13 DisconnectWindowLinux() {} |
14 virtual void Show(remoting::ChromotingHost* host, | 14 virtual void Show(remoting::ChromotingHost* host, |
15 const std::string& username) OVERRIDE; | 15 const std::string& username) OVERRIDE; |
16 virtual void Hide() OVERRIDE; | 16 virtual void Hide() OVERRIDE; |
17 | 17 |
18 private: | 18 private: |
19 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowLinux); | 19 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowLinux); |
20 }; | 20 }; |
21 } // namespace | 21 } // namespace |
22 | 22 |
23 void DisconnectWindowLinux::Show(remoting::ChromotingHost* host, | 23 void DisconnectWindowLinux::Show(remoting::ChromotingHost* host, |
24 const std::string& username) { | 24 const std::string& username) { |
25 NOTIMPLEMENTED(); | 25 NOTIMPLEMENTED(); |
26 } | 26 } |
27 | 27 |
28 void DisconnectWindowLinux::Hide() { | 28 void DisconnectWindowLinux::Hide() { |
29 NOTIMPLEMENTED(); | 29 NOTIMPLEMENTED(); |
30 } | 30 } |
31 | 31 |
32 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() { | 32 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() { |
33 return new DisconnectWindowLinux; | 33 return new DisconnectWindowLinux; |
34 } | 34 } |
OLD | NEW |