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

Side by Side Diff: remoting/host/daemon_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 5 years 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/curtain_mode_win.cc ('k') | remoting/host/daemon_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_DAEMON_PROCESS_H_ 5 #ifndef REMOTING_HOST_DAEMON_PROCESS_H_
6 #define REMOTING_HOST_DAEMON_PROCESS_H_ 6 #define REMOTING_HOST_DAEMON_PROCESS_H_
7 7
8 #include <stdint.h>
9
8 #include <list> 10 #include <list>
9 #include <string> 11 #include <string>
10 12
11 #include "base/basictypes.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 "base/observer_list.h" 18 #include "base/observer_list.h"
17 #include "base/process/process.h" 19 #include "base/process/process.h"
18 #include "ipc/ipc_channel.h" 20 #include "ipc/ipc_channel.h"
19 #include "ipc/ipc_channel_proxy.h" 21 #include "ipc/ipc_channel_proxy.h"
20 #include "ipc/ipc_platform_file.h" 22 #include "ipc/ipc_platform_file.h"
21 #include "remoting/host/config_watcher.h" 23 #include "remoting/host/config_watcher.h"
22 #include "remoting/host/host_status_monitor.h" 24 #include "remoting/host/host_status_monitor.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 61
60 // ConfigWatcher::Delegate 62 // ConfigWatcher::Delegate
61 void OnConfigUpdated(const std::string& serialized_config) override; 63 void OnConfigUpdated(const std::string& serialized_config) override;
62 void OnConfigWatcherError() override; 64 void OnConfigWatcherError() override;
63 65
64 // HostStatusMonitor interface. 66 // HostStatusMonitor interface.
65 void AddStatusObserver(HostStatusObserver* observer) override; 67 void AddStatusObserver(HostStatusObserver* observer) override;
66 void RemoveStatusObserver(HostStatusObserver* observer) override; 68 void RemoveStatusObserver(HostStatusObserver* observer) override;
67 69
68 // WorkerProcessIpcDelegate implementation. 70 // WorkerProcessIpcDelegate implementation.
69 void OnChannelConnected(int32 peer_pid) override; 71 void OnChannelConnected(int32_t peer_pid) override;
70 bool OnMessageReceived(const IPC::Message& message) override; 72 bool OnMessageReceived(const IPC::Message& message) override;
71 void OnPermanentError(int exit_code) override; 73 void OnPermanentError(int exit_code) override;
72 74
73 // Sends an IPC message to the network process. The message will be dropped 75 // Sends an IPC message to the network process. The message will be dropped
74 // unless the network process is connected over the IPC channel. 76 // unless the network process is connected over the IPC channel.
75 virtual void SendToNetwork(IPC::Message* message) = 0; 77 virtual void SendToNetwork(IPC::Message* message) = 0;
76 78
77 // Called when a desktop integration process attaches to |terminal_id|. 79 // Called when a desktop integration process attaches to |terminal_id|.
78 // |desktop_process| is a handle of the desktop integration process. 80 // |desktop_process| is a handle of the desktop integration process.
79 // |desktop_pipe| specifies the client end of the desktop pipe. Returns true 81 // |desktop_pipe| specifies the client end of the desktop pipe. Returns true
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 scoped_ptr<HostEventLogger> host_event_logger_; 186 scoped_ptr<HostEventLogger> host_event_logger_;
185 187
186 base::WeakPtrFactory<DaemonProcess> weak_factory_; 188 base::WeakPtrFactory<DaemonProcess> weak_factory_;
187 189
188 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); 190 DISALLOW_COPY_AND_ASSIGN(DaemonProcess);
189 }; 191 };
190 192
191 } // namespace remoting 193 } // namespace remoting
192 194
193 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ 195 #endif // REMOTING_HOST_DAEMON_PROCESS_H_
OLDNEW
« no previous file with comments | « remoting/host/curtain_mode_win.cc ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698