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..0e74fc067e1fe891f96723fb87db9616ac6a2817 |
--- /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(); |
+ ~DisconnectWindowAura() override; |
+ |
+ // HostWindow interface. |
+ 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). |
+ NOTIMPLEMENTED(); |
+} |
+ |
+} // namespace |
+ |
+// static |
+scoped_ptr<HostWindow> HostWindow::CreateDisconnectWindow() { |
+ return make_scoped_ptr(new DisconnectWindowAura()); |
+} |
+ |
+} // namespace remoting |