Chromium Code Reviews| Index: remoting/host/disconnect_window_chromeos.cc |
| diff --git a/remoting/host/disconnect_window_chromeos.cc b/remoting/host/disconnect_window_chromeos.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c74b5ec5a59ca7e02b75a60437cd8101281edd4d |
| --- /dev/null |
| +++ b/remoting/host/disconnect_window_chromeos.cc |
| @@ -0,0 +1,47 @@ |
| +// Copyright 2014 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 <string> |
| + |
| +#include "remoting/host/client_session_control.h" |
| +#include "remoting/host/host_window.h" |
| + |
| +namespace remoting { |
| + |
| +namespace { |
| + |
| +// A place holder implementation for the Disconnect window on ChromeOS. |
| +class DisconnectWindowAura : public HostWindow { |
| + public: |
| + DisconnectWindowAura(); |
| + virtual ~DisconnectWindowAura(); |
|
Wez
2014/10/24 00:28:48
override
kelvinp
2014/10/24 21:39:42
Done.
|
| + |
| + // HostWindow interface. |
| + virtual void Start( |
| + const base::WeakPtr<ClientSessionControl>& client_session_control) |
| + override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DisconnectWindowAura); |
| +}; |
| + |
| +DisconnectWindowAura::DisconnectWindowAura() { |
| +} |
| + |
| +DisconnectWindowAura::~DisconnectWindowAura() { |
| +} |
| + |
| +void DisconnectWindowAura::Start( |
| + const base::WeakPtr<ClientSessionControl>& client_session_control) { |
| + // TODO(kelvinp): Implement this on ChromeOS (See crbug.com/424908). |
|
Wez
2014/10/24 00:28:48
NOTIMPLEMENTED
kelvinp
2014/10/24 21:39:42
Done.
|
| +} |
| + |
| +} // namespace |
| + |
| +// static |
| +scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { |
| + return make_scoped_ptr(new DisconnectWindowAura()); |
| +} |
| + |
| +} // namespace remoting |