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

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

Issue 1930473003: Adding support for Win+L key combo in 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 | « no previous file | remoting/host/desktop_process.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) 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_DESKTOP_PROCESS_H_ 5 #ifndef REMOTING_HOST_DESKTOP_PROCESS_H_
6 #define REMOTING_HOST_DESKTOP_PROCESS_H_ 6 #define REMOTING_HOST_DESKTOP_PROCESS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void OnNetworkProcessDisconnected() override; 44 void OnNetworkProcessDisconnected() override;
45 45
46 // IPC::Listener implementation. 46 // IPC::Listener implementation.
47 bool OnMessageReceived(const IPC::Message& message) override; 47 bool OnMessageReceived(const IPC::Message& message) override;
48 void OnChannelConnected(int32_t peer_pid) override; 48 void OnChannelConnected(int32_t peer_pid) override;
49 void OnChannelError() override; 49 void OnChannelError() override;
50 50
51 // Injects Secure Attention Sequence. 51 // Injects Secure Attention Sequence.
52 void InjectSas(); 52 void InjectSas();
53 53
54 // Locks the workstation for the current session.
55 void LockWorkStation();
56
54 // Creates the desktop agent and required threads and IPC channels. Returns 57 // Creates the desktop agent and required threads and IPC channels. Returns
55 // true on success. 58 // true on success.
56 bool Start( 59 bool Start(
57 std::unique_ptr<DesktopEnvironmentFactory> desktop_environment_factory); 60 std::unique_ptr<DesktopEnvironmentFactory> desktop_environment_factory);
58 61
59 private: 62 private:
60 // Crashes the process in response to a daemon's request. The daemon passes 63 // Crashes the process in response to a daemon's request. The daemon passes
61 // the location of the code that detected the fatal error resulted in this 64 // the location of the code that detected the fatal error resulted in this
62 // request. See the declaration of ChromotingDaemonMsg_Crash message. 65 // request. See the declaration of ChromotingDaemonMsg_Crash message.
63 void OnCrash(const std::string& function_name, 66 void OnCrash(const std::string& function_name,
(...skipping 19 matching lines...) Expand all
83 // Provides screen/audio capturing and input injection services for 86 // Provides screen/audio capturing and input injection services for
84 // the network process. 87 // the network process.
85 scoped_refptr<DesktopSessionAgent> desktop_agent_; 88 scoped_refptr<DesktopSessionAgent> desktop_agent_;
86 89
87 DISALLOW_COPY_AND_ASSIGN(DesktopProcess); 90 DISALLOW_COPY_AND_ASSIGN(DesktopProcess);
88 }; 91 };
89 92
90 } // namespace remoting 93 } // namespace remoting
91 94
92 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_ 95 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/desktop_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698