| 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/net/pacing/paced_sender.h" | |
| 10 #include "media/cast/net/rtcp/rtcp_builder.h" | |
| 11 #include "media/cast/rtcp/rtcp_utility.h" | 9 #include "media/cast/rtcp/rtcp_utility.h" |
| 12 #include "media/cast/rtcp/test_rtcp_packet_builder.h" | 10 #include "media/cast/rtcp/test_rtcp_packet_builder.h" |
| 13 #include "media/cast/test/fake_task_runner.h" | 11 #include "media/cast/test/fake_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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 &sender_info, | 199 &sender_info, |
| 200 NULL, | 200 NULL, |
| 201 &sender_log); | 201 &sender_log); |
| 202 | 202 |
| 203 EXPECT_EQ(1, test_transport_.packet_count()); | 203 EXPECT_EQ(1, test_transport_.packet_count()); |
| 204 EXPECT_EQ(41u, sender_log.size()); | 204 EXPECT_EQ(41u, sender_log.size()); |
| 205 } | 205 } |
| 206 | 206 |
| 207 } // namespace cast | 207 } // namespace cast |
| 208 } // namespace media | 208 } // namespace media |
| OLD | NEW |