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

Side by Side Diff: remoting/host/continue_window.h

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/config_file_watcher.h ('k') | remoting/host/continue_window_mac.mm » ('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 #ifndef REMOTING_HOST_CONTINUE_WINDOW_H_ 5 #ifndef REMOTING_HOST_CONTINUE_WINDOW_H_
6 #define REMOTING_HOST_CONTINUE_WINDOW_H_ 6 #define REMOTING_HOST_CONTINUE_WINDOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
11 #include "remoting/host/host_window.h" 11 #include "remoting/host/host_window.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 class ContinueWindow : public HostWindow { 15 class ContinueWindow : public HostWindow {
16 public: 16 public:
17 virtual ~ContinueWindow(); 17 ~ContinueWindow() override;
18 18
19 // HostWindow override. 19 // HostWindow override.
20 virtual void Start( 20 void Start(const base::WeakPtr<ClientSessionControl>& client_session_control)
21 const base::WeakPtr<ClientSessionControl>& client_session_control)
22 override; 21 override;
23 22
24 // Resumes paused client session. 23 // Resumes paused client session.
25 void ContinueSession(); 24 void ContinueSession();
26 25
27 // Disconnects the client session. 26 // Disconnects the client session.
28 void DisconnectSession(); 27 void DisconnectSession();
29 28
30 protected: 29 protected:
31 ContinueWindow(); 30 ContinueWindow();
(...skipping 15 matching lines...) Expand all
47 46
48 // Used to ask the local user whether the session should be continued. 47 // Used to ask the local user whether the session should be continued.
49 base::OneShotTimer<ContinueWindow> session_expired_timer_; 48 base::OneShotTimer<ContinueWindow> session_expired_timer_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(ContinueWindow); 50 DISALLOW_COPY_AND_ASSIGN(ContinueWindow);
52 }; 51 };
53 52
54 } // namespace remoting 53 } // namespace remoting
55 54
56 #endif // REMOTING_HOST_CONTINUE_WINDOW_H_ 55 #endif // REMOTING_HOST_CONTINUE_WINDOW_H_
OLDNEW
« no previous file with comments | « remoting/host/config_file_watcher.h ('k') | remoting/host/continue_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698