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

Side by Side Diff: remoting/host/win/rdp_desktop_session.h

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
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 #ifndef REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_ 5 #ifndef REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_
6 #define REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_ 6 #define REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <atlctl.h> 10 #include <atlctl.h>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 STDMETHOD(Connect)(long width, long height, BSTR terminal_id, 42 STDMETHOD(Connect)(long width, long height, BSTR terminal_id,
43 IRdpDesktopSessionEventHandler* event_handler); 43 IRdpDesktopSessionEventHandler* event_handler);
44 STDMETHOD(Disconnect)(); 44 STDMETHOD(Disconnect)();
45 STDMETHOD(ChangeResolution)(long width, long height); 45 STDMETHOD(ChangeResolution)(long width, long height);
46 STDMETHOD(InjectSas)(); 46 STDMETHOD(InjectSas)();
47 47
48 DECLARE_NO_REGISTRY() 48 DECLARE_NO_REGISTRY()
49 49
50 private: 50 private:
51 // RdpClient::EventHandler interface. 51 // RdpClient::EventHandler interface.
52 virtual void OnRdpConnected() OVERRIDE; 52 virtual void OnRdpConnected() override;
53 virtual void OnRdpClosed() OVERRIDE; 53 virtual void OnRdpClosed() override;
54 54
55 BEGIN_COM_MAP(RdpDesktopSession) 55 BEGIN_COM_MAP(RdpDesktopSession)
56 COM_INTERFACE_ENTRY(IRdpDesktopSession) 56 COM_INTERFACE_ENTRY(IRdpDesktopSession)
57 COM_INTERFACE_ENTRY(IUnknown) 57 COM_INTERFACE_ENTRY(IUnknown)
58 END_COM_MAP() 58 END_COM_MAP()
59 59
60 // Implements loading and instantiation of the RDP ActiveX client. 60 // Implements loading and instantiation of the RDP ActiveX client.
61 scoped_ptr<RdpClient> client_; 61 scoped_ptr<RdpClient> client_;
62 62
63 // Holds a reference to the caller's EventHandler, through which notifications 63 // Holds a reference to the caller's EventHandler, through which notifications
64 // are dispatched. Released in Disconnect(), to prevent further notifications. 64 // are dispatched. Released in Disconnect(), to prevent further notifications.
65 base::win::ScopedComPtr<IRdpDesktopSessionEventHandler> event_handler_; 65 base::win::ScopedComPtr<IRdpDesktopSessionEventHandler> event_handler_;
66 66
67 DECLARE_PROTECT_FINAL_CONSTRUCT() 67 DECLARE_PROTECT_FINAL_CONSTRUCT()
68 }; 68 };
69 69
70 } // namespace remoting 70 } // namespace remoting
71 71
72 #endif // REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_ 72 #endif // REMOTING_HOST_WIN_RDP_DESKTOP_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/host/win/rdp_client_unittest.cc ('k') | remoting/host/win/session_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698