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

Side by Side Diff: remoting/host/disconnect_window_linux.cc

Issue 7089015: Call the DisconnectWindow interface methods on the UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/disconnect_window.h" 5 #include "remoting/host/disconnect_window.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace { 10 namespace {
11 class DisconnectWindowLinux : public remoting::DisconnectWindow { 11 class DisconnectWindowLinux : public remoting::DisconnectWindow {
12 public: 12 public:
13 DisconnectWindowLinux() {} 13 DisconnectWindowLinux() {}
14 virtual void Show(remoting::ChromotingHost* host, 14 virtual void Show(remoting::ChromotingHost* host,
15 const std::string& username) OVERRIDE; 15 const std::string& username) OVERRIDE;
16 virtual void Hide() OVERRIDE; 16 virtual void Hide() OVERRIDE;
17 17
18 private: 18 private:
19 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowLinux); 19 DISALLOW_COPY_AND_ASSIGN(DisconnectWindowLinux);
20 }; 20 };
21 } // namespace 21 } // namespace
22 22
23 void DisconnectWindowLinux::Show(remoting::ChromotingHost* host, 23 void DisconnectWindowLinux::Show(remoting::ChromotingHost* host,
24 const std::string& username) { 24 const std::string& username) {
25 NOTIMPLEMENTED(); 25 NOTIMPLEMENTED();
26 } 26 }
27 27
28 void DisconnectWindowLinux::Hide() { 28 void DisconnectWindowLinux::Hide() {
29 NOTIMPLEMENTED(); 29 NOTIMPLEMENTED();
30 } 30 }
31 31
32 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() { 32 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() {
33 return new DisconnectWindowLinux; 33 return new DisconnectWindowLinux;
34 } 34 }
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698