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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
6 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
7 #include "base/test/simple_test_tick_clock.h" | 10 #include "base/test/simple_test_tick_clock.h" |
8 #include "base/time/tick_clock.h" | 11 #include "base/time/tick_clock.h" |
9 #include "media/cast/cast_environment.h" | 12 #include "media/cast/cast_environment.h" |
10 #include "media/cast/logging/logging_defines.h" | 13 #include "media/cast/logging/logging_defines.h" |
11 #include "media/cast/net/rtcp/receiver_rtcp_event_subscriber.h" | 14 #include "media/cast/net/rtcp/receiver_rtcp_event_subscriber.h" |
12 #include "media/cast/test/fake_single_thread_task_runner.h" | 15 #include "media/cast/test/fake_single_thread_task_runner.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
14 | 17 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 cast_environment_->logger()->DispatchFrameEvent(decode_event.Pass()); | 165 cast_environment_->logger()->DispatchFrameEvent(decode_event.Pass()); |
163 } | 166 } |
164 | 167 |
165 ReceiverRtcpEventSubscriber::RtcpEvents rtcp_events; | 168 ReceiverRtcpEventSubscriber::RtcpEvents rtcp_events; |
166 event_subscriber_->GetRtcpEventsWithRedundancy(&rtcp_events); | 169 event_subscriber_->GetRtcpEventsWithRedundancy(&rtcp_events); |
167 EXPECT_EQ(10u, rtcp_events.size()); | 170 EXPECT_EQ(10u, rtcp_events.size()); |
168 } | 171 } |
169 | 172 |
170 } // namespace cast | 173 } // namespace cast |
171 } // namespace media | 174 } // namespace media |
OLD | NEW |