OLD | NEW |
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 <math.h> | 5 #include <math.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "media/cast/test/utility/udp_proxy.h" | 9 #include "media/cast/test/utility/udp_proxy.h" |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/rand_util.h" | 12 #include "base/rand_util.h" |
13 #include "base/single_thread_task_runner.h" | |
14 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
15 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
17 #include "base/time/default_tick_clock.h" | 16 #include "base/time/default_tick_clock.h" |
18 #include "net/base/io_buffer.h" | 17 #include "net/base/io_buffer.h" |
19 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
20 #include "net/udp/udp_server_socket.h" | 19 #include "net/udp/udp_server_socket.h" |
21 | 20 |
22 namespace media { | 21 namespace media { |
23 namespace cast { | 22 namespace cast { |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 destination, | 856 destination, |
858 to_dest_pipe.Pass(), | 857 to_dest_pipe.Pass(), |
859 from_dest_pipe.Pass(), | 858 from_dest_pipe.Pass(), |
860 net_log)); | 859 net_log)); |
861 return ret.Pass(); | 860 return ret.Pass(); |
862 } | 861 } |
863 | 862 |
864 } // namespace test | 863 } // namespace test |
865 } // namespace cast | 864 } // namespace cast |
866 } // namespace media | 865 } // namespace media |
OLD | NEW |