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

Side by Side Diff: media/cast/test/utility/tap_proxy.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/utility/generate_timecode_audio.cc ('k') | media/cast/test/utility/test_util.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <errno.h> 5 #include <errno.h>
6 #include <fcntl.h> 6 #include <fcntl.h>
7 #include <linux/if_tun.h> 7 #include <linux/if_tun.h>
8 #include <linux/types.h> 8 #include <linux/types.h>
9 #include <math.h> 9 #include <math.h>
10 #include <net/if.h> 10 #include <net/if.h>
11 #include <netinet/in.h> 11 #include <netinet/in.h>
12 #include <stddef.h>
13 #include <stdint.h>
12 #include <stdio.h> 14 #include <stdio.h>
13 #include <stdlib.h> 15 #include <stdlib.h>
14 #include <sys/ioctl.h> 16 #include <sys/ioctl.h>
15 #include <sys/stat.h> 17 #include <sys/stat.h>
16 #include <sys/types.h> 18 #include <sys/types.h>
17 #include <unistd.h> 19 #include <unistd.h>
18 20
19 #include <deque> 21 #include <deque>
20 #include <map> 22 #include <map>
21 23
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 int fd2 = tun_alloc(argv[2], IFF_TAP); 310 int fd2 = tun_alloc(argv[2], IFF_TAP);
309 311
310 base::MessageLoopForIO message_loop; 312 base::MessageLoopForIO message_loop;
311 last_printout = base::TimeTicks::Now(); 313 last_printout = base::TimeTicks::Now();
312 media::cast::test::QueueManager qm1(fd1, fd2, in_pipe.Pass()); 314 media::cast::test::QueueManager qm1(fd1, fd2, in_pipe.Pass());
313 media::cast::test::QueueManager qm2(fd2, fd1, out_pipe.Pass()); 315 media::cast::test::QueueManager qm2(fd2, fd1, out_pipe.Pass());
314 CheckByteCounters(); 316 CheckByteCounters();
315 printf("Press Ctrl-C when done.\n"); 317 printf("Press Ctrl-C when done.\n");
316 message_loop.Run(); 318 message_loop.Run();
317 } 319 }
OLDNEW
« no previous file with comments | « media/cast/test/utility/generate_timecode_audio.cc ('k') | media/cast/test/utility/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698