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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/desktop_environment.h ('k') | 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>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
16 #include "ipc/ipc_listener.h" 18 #include "ipc/ipc_listener.h"
17 #include "remoting/host/desktop_session_agent.h" 19 #include "remoting/host/desktop_session_agent.h"
18 20
19 namespace IPC { 21 namespace IPC {
20 class ChannelProxy; 22 class ChannelProxy;
21 } // namespace IPC 23 } // namespace IPC
22 24
(...skipping 13 matching lines...) Expand all
36 scoped_refptr<AutoThreadTaskRunner> input_task_runner, 38 scoped_refptr<AutoThreadTaskRunner> input_task_runner,
37 const std::string& daemon_channel_name); 39 const std::string& daemon_channel_name);
38 ~DesktopProcess() override; 40 ~DesktopProcess() override;
39 41
40 // DesktopSessionAgent::Delegate implementation. 42 // DesktopSessionAgent::Delegate implementation.
41 DesktopEnvironmentFactory& desktop_environment_factory() override; 43 DesktopEnvironmentFactory& desktop_environment_factory() override;
42 void OnNetworkProcessDisconnected() override; 44 void OnNetworkProcessDisconnected() override;
43 45
44 // IPC::Listener implementation. 46 // IPC::Listener implementation.
45 bool OnMessageReceived(const IPC::Message& message) override; 47 bool OnMessageReceived(const IPC::Message& message) override;
46 void OnChannelConnected(int32 peer_pid) override; 48 void OnChannelConnected(int32_t peer_pid) override;
47 void OnChannelError() override; 49 void OnChannelError() override;
48 50
49 // Injects Secure Attention Sequence. 51 // Injects Secure Attention Sequence.
50 void InjectSas(); 52 void InjectSas();
51 53
52 // Creates the desktop agent and required threads and IPC channels. Returns 54 // Creates the desktop agent and required threads and IPC channels. Returns
53 // true on success. 55 // true on success.
54 bool Start(scoped_ptr<DesktopEnvironmentFactory> desktop_environment_factory); 56 bool Start(scoped_ptr<DesktopEnvironmentFactory> desktop_environment_factory);
55 57
56 private: 58 private:
(...skipping 23 matching lines...) Expand all
80 // Provides screen/audio capturing and input injection services for 82 // Provides screen/audio capturing and input injection services for
81 // the network process. 83 // the network process.
82 scoped_refptr<DesktopSessionAgent> desktop_agent_; 84 scoped_refptr<DesktopSessionAgent> desktop_agent_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(DesktopProcess); 86 DISALLOW_COPY_AND_ASSIGN(DesktopProcess);
85 }; 87 };
86 88
87 } // namespace remoting 89 } // namespace remoting
88 90
89 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_ 91 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_environment.h ('k') | remoting/host/desktop_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698