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

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

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
« no previous file with comments | « remoting/host/continue_window_win.cc ('k') | remoting/host/curtain_mode_mac.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/curtain_mode.h" 5 #include "remoting/host/curtain_mode.h"
6 6
7 #include <X11/extensions/XInput.h> 7 #include <X11/extensions/XInput.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "remoting/base/logging.h" 11 #include "remoting/base/logging.h"
12 #include "remoting/host/client_session_control.h" 12 #include "remoting/host/client_session_control.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 class CurtainModeLinux : public CurtainMode { 16 class CurtainModeLinux : public CurtainMode {
17 public: 17 public:
18 CurtainModeLinux(); 18 CurtainModeLinux();
19 19
20 // Overriden from CurtainMode. 20 // Overriden from CurtainMode.
21 virtual bool Activate() OVERRIDE; 21 virtual bool Activate() override;
22 22
23 private: 23 private:
24 // Returns true if the host is running under an Xvfb session. 24 // Returns true if the host is running under an Xvfb session.
25 bool IsXvfbSession(); 25 bool IsXvfbSession();
26 26
27 DISALLOW_COPY_AND_ASSIGN(CurtainModeLinux); 27 DISALLOW_COPY_AND_ASSIGN(CurtainModeLinux);
28 }; 28 };
29 29
30 CurtainModeLinux::CurtainModeLinux() { 30 CurtainModeLinux::CurtainModeLinux() {
31 } 31 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // static 101 // static
102 scoped_ptr<CurtainMode> CurtainMode::Create( 102 scoped_ptr<CurtainMode> CurtainMode::Create(
103 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 103 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
104 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 104 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
105 base::WeakPtr<ClientSessionControl> client_session_control) { 105 base::WeakPtr<ClientSessionControl> client_session_control) {
106 return make_scoped_ptr(new CurtainModeLinux()); 106 return make_scoped_ptr(new CurtainModeLinux());
107 } 107 }
108 108
109 } // namespace remoting 109 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/continue_window_win.cc ('k') | remoting/host/curtain_mode_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698