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

Side by Side Diff: media/cast/test/sender.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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 | « media/cast/test/receiver.cc ('k') | media/cast/test/simulator.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Test application that simulates a cast sender - Data can be either generated 5 // Test application that simulates a cast sender - Data can be either generated
6 // or read from a file. 6 // or read from a file.
7 7
8 #include <stdint.h>
9
8 #include <queue> 10 #include <queue>
9 11
10 #include "base/at_exit.h" 12 #include "base/at_exit.h"
11 #include "base/base_paths.h" 13 #include "base/base_paths.h"
12 #include "base/command_line.h" 14 #include "base/command_line.h"
13 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
14 #include "base/json/json_writer.h" 16 #include "base/json/json_writer.h"
15 #include "base/logging.h" 17 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
17 #include "base/path_service.h" 19 #include "base/path_service.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 base::Unretained(cast_sender.get()), 327 base::Unretained(cast_sender.get()),
326 audio_config, 328 audio_config,
327 base::Bind(&QuitLoopOnInitializationResult))); 329 base::Bind(&QuitLoopOnInitializationResult)));
328 io_message_loop.Run(); // Wait for audio initialization. 330 io_message_loop.Run(); // Wait for audio initialization.
329 331
330 fake_media_source->Start(cast_sender->audio_frame_input(), 332 fake_media_source->Start(cast_sender->audio_frame_input(),
331 cast_sender->video_frame_input()); 333 cast_sender->video_frame_input());
332 io_message_loop.Run(); 334 io_message_loop.Run();
333 return 0; 335 return 0;
334 } 336 }
OLDNEW
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698