Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Unified Diff: remoting/host/disconnect_window_chromeos.cc

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AuraDesktopCapturer clean up Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698