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

Side by Side Diff: media/cast/test/utility/tap_proxy.cc

Issue 1965273003: Fix include path for moved thread_task_runner_handle.h header in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/simulator.cc ('k') | media/cast/test/utility/udp_proxy.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 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>
(...skipping 10 matching lines...) Expand all
21 #include <map> 21 #include <map>
22 #include <utility> 22 #include <utility>
23 23
24 #include "base/at_exit.h" 24 #include "base/at_exit.h"
25 #include "base/bind.h" 25 #include "base/bind.h"
26 #include "base/command_line.h" 26 #include "base/command_line.h"
27 #include "base/logging.h" 27 #include "base/logging.h"
28 #include "base/rand_util.h" 28 #include "base/rand_util.h"
29 #include "base/single_thread_task_runner.h" 29 #include "base/single_thread_task_runner.h"
30 #include "base/synchronization/waitable_event.h" 30 #include "base/synchronization/waitable_event.h"
31 #include "base/thread_task_runner_handle.h"
32 #include "base/threading/thread.h" 31 #include "base/threading/thread.h"
32 #include "base/threading/thread_task_runner_handle.h"
33 #include "base/time/default_tick_clock.h" 33 #include "base/time/default_tick_clock.h"
34 #include "media/cast/test/utility/udp_proxy.h" 34 #include "media/cast/test/utility/udp_proxy.h"
35 #include "net/base/io_buffer.h" 35 #include "net/base/io_buffer.h"
36 #include "net/base/net_errors.h" 36 #include "net/base/net_errors.h"
37 #include "net/udp/udp_socket.h" 37 #include "net/udp/udp_socket.h"
38 38
39 namespace media { 39 namespace media {
40 namespace cast { 40 namespace cast {
41 namespace test { 41 namespace test {
42 42
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 int fd2 = tun_alloc(argv[2], IFF_TAP); 305 int fd2 = tun_alloc(argv[2], IFF_TAP);
306 306
307 base::MessageLoopForIO message_loop; 307 base::MessageLoopForIO message_loop;
308 last_printout = base::TimeTicks::Now(); 308 last_printout = base::TimeTicks::Now();
309 media::cast::test::QueueManager qm1(fd1, fd2, std::move(in_pipe)); 309 media::cast::test::QueueManager qm1(fd1, fd2, std::move(in_pipe));
310 media::cast::test::QueueManager qm2(fd2, fd1, std::move(out_pipe)); 310 media::cast::test::QueueManager qm2(fd2, fd1, std::move(out_pipe));
311 CheckByteCounters(); 311 CheckByteCounters();
312 printf("Press Ctrl-C when done.\n"); 312 printf("Press Ctrl-C when done.\n");
313 message_loop.Run(); 313 message_loop.Run();
314 } 314 }
OLDNEW
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/cast/test/utility/udp_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698