| OLD | NEW |
| 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 #include "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "base/test/simple_test_tick_clock.h" | 6 #include "base/test/simple_test_tick_clock.h" |
| 7 #include "media/cast/cast_defines.h" | 7 #include "media/cast/cast_defines.h" |
| 8 #include "media/cast/cast_environment.h" | 8 #include "media/cast/cast_environment.h" |
| 9 #include "media/cast/rtcp/rtcp_utility.h" | 9 #include "media/cast/net/pacing/paced_sender.h" |
| 10 #include "media/cast/rtcp/test_rtcp_packet_builder.h" | 10 #include "media/cast/net/rtcp/rtcp_builder.h" |
| 11 #include "media/cast/net/rtcp/rtcp_utility.h" |
| 12 #include "media/cast/net/rtcp/test_rtcp_packet_builder.h" |
| 11 #include "media/cast/test/fake_single_thread_task_runner.h" | 13 #include "media/cast/test/fake_single_thread_task_runner.h" |
| 12 #include "media/cast/transport/pacing/paced_sender.h" | |
| 13 #include "media/cast/transport/rtcp/rtcp_builder.h" | |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 15 | 15 |
| 16 namespace media { | 16 namespace media { |
| 17 namespace cast { | 17 namespace cast { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 static const uint32 kSendingSsrc = 0x12345678; | 20 static const uint32 kSendingSsrc = 0x12345678; |
| 21 static const std::string kCName("test@10.1.1.1"); | 21 static const std::string kCName("test@10.1.1.1"); |
| 22 } // namespace | 22 } // namespace |
| 23 | 23 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 &sender_info, | 155 &sender_info, |
| 156 &dlrr_rb, | 156 &dlrr_rb, |
| 157 kSendingSsrc, | 157 kSendingSsrc, |
| 158 kCName); | 158 kCName); |
| 159 | 159 |
| 160 EXPECT_EQ(1, test_transport_.packet_count()); | 160 EXPECT_EQ(1, test_transport_.packet_count()); |
| 161 } | 161 } |
| 162 | 162 |
| 163 } // namespace cast | 163 } // namespace cast |
| 164 } // namespace media | 164 } // namespace media |
| OLD | NEW |