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

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: Address feedbacks 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..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

Powered by Google App Engine
This is Rietveld 408576698