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..42d12b876983e4386db0ff9740278a2d79c1b15e |
| --- /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. |
|
Wez
2014/10/17 17:58:01
Refer to bug # for that work.
kelvinp
2014/10/20 00:21:17
Done.
|
| +class DisconnectWindowAura : public HostWindow { |
| + public: |
| + DisconnectWindowAura(); |
| + virtual ~DisconnectWindowAura(); |
| + |
| + // HostWindow overrides. |
|
Wez
2014/10/17 17:58:01
s/overrides/interface
kelvinp
2014/10/20 00:21:17
Done.
|
| + 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. |
| +} |
| + |
| +} // namespace |
| + |
| +// static |
| +scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { |
| + return scoped_ptr<HostWindow>(new DisconnectWindowAura()); |
|
Wez
2014/10/17 17:58:00
make_scoped_ptr()
kelvinp
2014/10/20 00:21:17
Done.
|
| +} |
| + |
| +} // namespace remoting |