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

Side by Side Diff: remoting/host/curtain_mode_win.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/curtain_mode_mac.cc ('k') | remoting/host/daemon_process.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) 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 "base/logging.h" 7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "remoting/host/client_session_control.h" 10 #include "remoting/host/client_session_control.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 class CurtainModeWin : public CurtainMode { 14 class CurtainModeWin : public CurtainMode {
15 public: 15 public:
16 CurtainModeWin(); 16 CurtainModeWin();
17 17
18 // Overriden from CurtainMode. 18 // Overriden from CurtainMode.
19 virtual bool Activate() OVERRIDE; 19 virtual bool Activate() override;
20 20
21 private: 21 private:
22 DISALLOW_COPY_AND_ASSIGN(CurtainModeWin); 22 DISALLOW_COPY_AND_ASSIGN(CurtainModeWin);
23 }; 23 };
24 24
25 CurtainModeWin::CurtainModeWin() { 25 CurtainModeWin::CurtainModeWin() {
26 } 26 }
27 27
28 bool CurtainModeWin::Activate() { 28 bool CurtainModeWin::Activate() {
29 if (base::win::GetVersion() < base::win::VERSION_VISTA) { 29 if (base::win::GetVersion() < base::win::VERSION_VISTA) {
(...skipping 17 matching lines...) Expand all
47 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 47 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
48 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 48 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
49 base::WeakPtr<ClientSessionControl> client_session_control) { 49 base::WeakPtr<ClientSessionControl> client_session_control) {
50 // |client_session_control| is not used because the client session is 50 // |client_session_control| is not used because the client session is
51 // disconnected as soon as the session is re-attached to the local console. 51 // disconnected as soon as the session is re-attached to the local console.
52 // See RdpDesktopSession for more details. 52 // See RdpDesktopSession for more details.
53 return make_scoped_ptr(new CurtainModeWin()); 53 return make_scoped_ptr(new CurtainModeWin());
54 } 54 }
55 55
56 } // namespace remoting 56 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/curtain_mode_mac.cc ('k') | remoting/host/daemon_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698