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/mouse_shape_pump.cc

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/mouse_shape_pump.h ('k') | remoting/host/mouse_shape_pump_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "remoting/host/mouse_shape_pump.h" 5 #include "remoting/host/mouse_shape_pump.h"
6 6
7 #include <stdint.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
11 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
12 #include "remoting/proto/control.pb.h" 15 #include "remoting/proto/control.pb.h"
13 #include "remoting/protocol/cursor_shape_stub.h" 16 #include "remoting/protocol/cursor_shape_stub.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 17 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
15 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor.h" 18 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor.h"
16 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" 19 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h"
17 20
18 namespace remoting { 21 namespace remoting {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 134 }
132 135
133 void MouseShapePump::OnCursorShape( 136 void MouseShapePump::OnCursorShape(
134 scoped_ptr<protocol::CursorShapeInfo> cursor) { 137 scoped_ptr<protocol::CursorShapeInfo> cursor) {
135 DCHECK(thread_checker_.CalledOnValidThread()); 138 DCHECK(thread_checker_.CalledOnValidThread());
136 139
137 cursor_shape_stub_->SetCursorShape(*cursor); 140 cursor_shape_stub_->SetCursorShape(*cursor);
138 } 141 }
139 142
140 } // namespace remoting 143 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/mouse_shape_pump.h ('k') | remoting/host/mouse_shape_pump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698