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

Side by Side Diff: remoting/host/mouse_cursor_monitor_proxy_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_cursor_monitor_proxy.h" 5 #include "remoting/host/mouse_cursor_monitor_proxy.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
15 #include "remoting/host/mouse_cursor_monitor_proxy.h" 16 #include "remoting/host/mouse_cursor_monitor_proxy.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"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" 20 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
20 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 21 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 base::MakeUnique<ThreadCheckMouseCursorMonitor>( 129 base::MakeUnique<ThreadCheckMouseCursorMonitor>(
129 capture_thread_.task_runner())); 130 capture_thread_.task_runner()));
130 proxy_->Init(this, webrtc::MouseCursorMonitor::SHAPE_ONLY); 131 proxy_->Init(this, webrtc::MouseCursorMonitor::SHAPE_ONLY);
131 proxy_->Capture(); 132 proxy_->Capture();
132 133
133 // |run_loop_| will be stopped when the first cursor is received. 134 // |run_loop_| will be stopped when the first cursor is received.
134 run_loop_.Run(); 135 run_loop_.Run();
135 } 136 }
136 137
137 } // namespace remoting 138 } // namespace remoting
OLDNEW
« no previous file with comments | « net/url_request/url_request_context_unittest.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698