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

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

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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/protocol/video_frame_pump.h ('k') | remoting/protocol/video_stream.h » ('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 "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/codec/video_encoder.h" 14 #include "remoting/codec/video_encoder.h"
14 #include "remoting/codec/video_encoder_verbatim.h" 15 #include "remoting/codec/video_encoder_verbatim.h"
15 #include "remoting/proto/control.pb.h" 16 #include "remoting/proto/control.pb.h"
16 #include "remoting/proto/video.pb.h" 17 #include "remoting/proto/video.pb.h"
17 #include "remoting/protocol/fake_desktop_capturer.h" 18 #include "remoting/protocol/fake_desktop_capturer.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Start video frame capture. 233 // Start video frame capture.
233 pump_.reset(new VideoFramePump(encode_task_runner_, capturer.Pass(), 234 pump_.reset(new VideoFramePump(encode_task_runner_, capturer.Pass(),
234 encoder.Pass(), &video_stub_)); 235 encoder.Pass(), &video_stub_));
235 236
236 // Run MessageLoop until the first frame is received. 237 // Run MessageLoop until the first frame is received.
237 run_loop.Run(); 238 run_loop.Run();
238 } 239 }
239 240
240 } // namespace protocol 241 } // namespace protocol
241 } // namespace remoting 242 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/video_frame_pump.h ('k') | remoting/protocol/video_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698