OLD | NEW |
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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "remoting/base/auto_thread.h" | 12 #include "remoting/base/auto_thread.h" |
12 #include "remoting/base/auto_thread_task_runner.h" | 13 #include "remoting/base/auto_thread_task_runner.h" |
13 #include "remoting/host/host_mock_objects.h" | 14 #include "remoting/host/host_mock_objects.h" |
14 #include "remoting/proto/control.pb.h" | 15 #include "remoting/proto/control.pb.h" |
15 #include "remoting/proto/video.pb.h" | 16 #include "remoting/proto/video.pb.h" |
16 #include "remoting/protocol/protocol_mock_objects.h" | 17 #include "remoting/protocol/protocol_mock_objects.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 .RetiresOnSaturation(); | 138 .RetiresOnSaturation(); |
138 | 139 |
139 // Start the pump. | 140 // Start the pump. |
140 pump_.reset(new MouseShapePump(capture_task_runner_, cursor_monitor.Pass(), | 141 pump_.reset(new MouseShapePump(capture_task_runner_, cursor_monitor.Pass(), |
141 &client_stub_)); | 142 &client_stub_)); |
142 | 143 |
143 run_loop.Run(); | 144 run_loop.Run(); |
144 } | 145 } |
145 | 146 |
146 } // namespace remoting | 147 } // namespace remoting |
OLD | NEW |