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

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

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_mac.mm ('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 <ApplicationServices/ApplicationServices.h> 7 #include <ApplicationServices/ApplicationServices.h>
8 #include <Carbon/Carbon.h> 8 #include <Carbon/Carbon.h>
9 #include <Security/Security.h> 9 #include <Security/Security.h>
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } // namespace 219 } // namespace
220 220
221 namespace remoting { 221 namespace remoting {
222 222
223 class CurtainModeMac : public CurtainMode { 223 class CurtainModeMac : public CurtainMode {
224 public: 224 public:
225 CurtainModeMac( 225 CurtainModeMac(
226 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 226 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
227 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 227 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
228 base::WeakPtr<ClientSessionControl> client_session_control); 228 base::WeakPtr<ClientSessionControl> client_session_control);
229 virtual ~CurtainModeMac(); 229 ~CurtainModeMac() override;
230 230
231 // Overriden from CurtainMode. 231 // Overriden from CurtainMode.
232 virtual bool Activate() override; 232 bool Activate() override;
233 233
234 private: 234 private:
235 scoped_refptr<SessionWatcher> session_watcher_; 235 scoped_refptr<SessionWatcher> session_watcher_;
236 236
237 DISALLOW_COPY_AND_ASSIGN(CurtainModeMac); 237 DISALLOW_COPY_AND_ASSIGN(CurtainModeMac);
238 }; 238 };
239 239
240 CurtainModeMac::CurtainModeMac( 240 CurtainModeMac::CurtainModeMac(
241 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 241 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
242 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 242 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
(...skipping 15 matching lines...) Expand all
258 // static 258 // static
259 scoped_ptr<CurtainMode> CurtainMode::Create( 259 scoped_ptr<CurtainMode> CurtainMode::Create(
260 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 260 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
261 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 261 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
262 base::WeakPtr<ClientSessionControl> client_session_control) { 262 base::WeakPtr<ClientSessionControl> client_session_control) {
263 return make_scoped_ptr(new CurtainModeMac( 263 return make_scoped_ptr(new CurtainModeMac(
264 caller_task_runner, ui_task_runner, client_session_control)); 264 caller_task_runner, ui_task_runner, client_session_control));
265 } 265 }
266 266
267 } // namespace remoting 267 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/continue_window_mac.mm ('k') | remoting/host/daemon_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698