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

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

Issue 1935003003: Fixing curtain mode using non-default RDP port for Windows host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 4 years, 7 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/chromoting_lib_idl.templ ('k') | remoting/host/win/rdp_client.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 #ifndef REMOTING_HOST_WIN_RDP_CLIENT_H_ 5 #ifndef REMOTING_HOST_WIN_RDP_CLIENT_H_
6 #define REMOTING_HOST_WIN_RDP_CLIENT_H_ 6 #define REMOTING_HOST_WIN_RDP_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 virtual ~EventHandler() {} 30 virtual ~EventHandler() {}
31 31
32 // Notifies the event handler that an RDP connection has been established 32 // Notifies the event handler that an RDP connection has been established
33 // successfully. 33 // successfully.
34 virtual void OnRdpConnected() = 0; 34 virtual void OnRdpConnected() = 0;
35 35
36 // Notifies that the RDP connection has been closed. 36 // Notifies that the RDP connection has been closed.
37 virtual void OnRdpClosed() = 0; 37 virtual void OnRdpClosed() = 0;
38 }; 38 };
39 39
40 RdpClient( 40 RdpClient(scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
41 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 41 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
42 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 42 const webrtc::DesktopSize& screen_size,
43 const webrtc::DesktopSize& screen_size, 43 const std::string& terminal_id,
44 const std::string& terminal_id, 44 DWORD port_number,
45 EventHandler* event_handler); 45 EventHandler* event_handler);
46 virtual ~RdpClient(); 46 virtual ~RdpClient();
47 47
48 // Sends Secure Attention Sequence to the session. 48 // Sends Secure Attention Sequence to the session.
49 void InjectSas(); 49 void InjectSas();
50 50
51 private: 51 private:
52 // The actual implementation resides in Core class. 52 // The actual implementation resides in Core class.
53 class Core; 53 class Core;
54 scoped_refptr<Core> core_; 54 scoped_refptr<Core> core_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(RdpClient); 56 DISALLOW_COPY_AND_ASSIGN(RdpClient);
57 }; 57 };
58 58
59 } // namespace remoting 59 } // namespace remoting
60 60
61 #endif // REMOTING_HOST_WIN_RDP_CLIENT_H_ 61 #endif // REMOTING_HOST_WIN_RDP_CLIENT_H_
OLDNEW
« no previous file with comments | « remoting/host/win/chromoting_lib_idl.templ ('k') | remoting/host/win/rdp_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698