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

Side by Side Diff: remoting/host/desktop_session_agent.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_session.h ('k') | remoting/host/desktop_session_agent.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_SESSION_AGENT_H_ 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
6 #define REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 6 #define REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <map> 11 #include <map>
9 12
10 #include "base/basictypes.h"
11 #include "base/callback.h" 13 #include "base/callback.h"
12 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
16 #include "ipc/ipc_listener.h" 19 #include "ipc/ipc_listener.h"
17 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
18 #include "remoting/host/client_session_control.h" 21 #include "remoting/host/client_session_control.h"
19 #include "remoting/protocol/clipboard_stub.h" 22 #include "remoting/protocol/clipboard_stub.h"
20 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" 23 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
21 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 24 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
22 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" 25 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 68
66 DesktopSessionAgent( 69 DesktopSessionAgent(
67 scoped_refptr<AutoThreadTaskRunner> audio_capture_task_runner, 70 scoped_refptr<AutoThreadTaskRunner> audio_capture_task_runner,
68 scoped_refptr<AutoThreadTaskRunner> caller_task_runner, 71 scoped_refptr<AutoThreadTaskRunner> caller_task_runner,
69 scoped_refptr<AutoThreadTaskRunner> input_task_runner, 72 scoped_refptr<AutoThreadTaskRunner> input_task_runner,
70 scoped_refptr<AutoThreadTaskRunner> io_task_runner, 73 scoped_refptr<AutoThreadTaskRunner> io_task_runner,
71 scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner); 74 scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner);
72 75
73 // IPC::Listener implementation. 76 // IPC::Listener implementation.
74 bool OnMessageReceived(const IPC::Message& message) override; 77 bool OnMessageReceived(const IPC::Message& message) override;
75 void OnChannelConnected(int32 peer_pid) override; 78 void OnChannelConnected(int32_t peer_pid) override;
76 void OnChannelError() override; 79 void OnChannelError() override;
77 80
78 // webrtc::DesktopCapturer::Callback implementation. 81 // webrtc::DesktopCapturer::Callback implementation.
79 webrtc::SharedMemory* CreateSharedMemory(size_t size) override; 82 webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
80 void OnCaptureCompleted(webrtc::DesktopFrame* frame) override; 83 void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
81 84
82 // webrtc::MouseCursorMonitor::Callback implementation. 85 // webrtc::MouseCursorMonitor::Callback implementation.
83 void OnMouseCursor(webrtc::MouseCursor* cursor) override; 86 void OnMouseCursor(webrtc::MouseCursor* cursor) override;
84 void OnMouseCursorPosition(webrtc::MouseCursorMonitor::CursorState state, 87 void OnMouseCursorPosition(webrtc::MouseCursorMonitor::CursorState state,
85 const webrtc::DesktopVector& position) override; 88 const webrtc::DesktopVector& position) override;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 229
227 // Used to disable callbacks to |this|. 230 // Used to disable callbacks to |this|.
228 base::WeakPtrFactory<DesktopSessionAgent> weak_factory_; 231 base::WeakPtrFactory<DesktopSessionAgent> weak_factory_;
229 232
230 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); 233 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent);
231 }; 234 };
232 235
233 } // namespace remoting 236 } // namespace remoting
234 237
235 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 238 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session.h ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698