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

Side by Side Diff: remoting/host/win/rdp_client.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/win/host_service.h ('k') | remoting/host/win/rdp_client_unittest.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/win/rdp_client.h" 5 #include "remoting/host/win/rdp_client.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void Connect(const webrtc::DesktopSize& screen_size, 49 void Connect(const webrtc::DesktopSize& screen_size,
50 const std::string& terminal_id); 50 const std::string& terminal_id);
51 51
52 // Initiates a graceful shutdown of the RDP connection. 52 // Initiates a graceful shutdown of the RDP connection.
53 void Disconnect(); 53 void Disconnect();
54 54
55 // Sends Secure Attention Sequence to the session. 55 // Sends Secure Attention Sequence to the session.
56 void InjectSas(); 56 void InjectSas();
57 57
58 // RdpClientWindow::EventHandler interface. 58 // RdpClientWindow::EventHandler interface.
59 virtual void OnConnected() OVERRIDE; 59 virtual void OnConnected() override;
60 virtual void OnDisconnected() OVERRIDE; 60 virtual void OnDisconnected() override;
61 61
62 private: 62 private:
63 friend class base::RefCountedThreadSafe<Core>; 63 friend class base::RefCountedThreadSafe<Core>;
64 virtual ~Core(); 64 virtual ~Core();
65 65
66 // Helpers for the event handler's methods that make sure that OnRdpClosed() 66 // Helpers for the event handler's methods that make sure that OnRdpClosed()
67 // is the last notification delivered and is delevered only once. 67 // is the last notification delivered and is delevered only once.
68 void NotifyConnected(); 68 void NotifyConnected();
69 void NotifyClosed(); 69 void NotifyClosed();
70 70
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 } 225 }
226 226
227 if (event_handler_) { 227 if (event_handler_) {
228 RdpClient::EventHandler* event_handler = event_handler_; 228 RdpClient::EventHandler* event_handler = event_handler_;
229 event_handler_ = NULL; 229 event_handler_ = NULL;
230 event_handler->OnRdpClosed(); 230 event_handler->OnRdpClosed();
231 } 231 }
232 } 232 }
233 233
234 } // namespace remoting 234 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/host_service.h ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698