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

Side by Side Diff: remoting/protocol/video_frame_pump_unittest.cc

Issue 1547603004: Include <utility> in files that use std::move() in remoting/protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
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/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_connection_to_client.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/protocol/video_frame_pump.h" 5 #include "remoting/protocol/video_frame_pump.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
12 #include "remoting/base/auto_thread.h" 14 #include "remoting/base/auto_thread.h"
13 #include "remoting/base/auto_thread_task_runner.h" 15 #include "remoting/base/auto_thread_task_runner.h"
14 #include "remoting/codec/video_encoder.h" 16 #include "remoting/codec/video_encoder.h"
15 #include "remoting/codec/video_encoder_verbatim.h" 17 #include "remoting/codec/video_encoder_verbatim.h"
16 #include "remoting/proto/control.pb.h" 18 #include "remoting/proto/control.pb.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Start video frame capture. 235 // Start video frame capture.
234 pump_.reset(new VideoFramePump(encode_task_runner_, std::move(capturer), 236 pump_.reset(new VideoFramePump(encode_task_runner_, std::move(capturer),
235 std::move(encoder), &video_stub_)); 237 std::move(encoder), &video_stub_));
236 238
237 // Run MessageLoop until the first frame is received. 239 // Run MessageLoop until the first frame is received.
238 run_loop.Run(); 240 run_loop.Run();
239 } 241 }
240 242
241 } // namespace protocol 243 } // namespace protocol
242 } // namespace remoting 244 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698