| 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 <stdint.h> |
| 6 |
| 5 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 6 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 7 #include "base/test/simple_test_tick_clock.h" | 9 #include "base/test/simple_test_tick_clock.h" |
| 8 #include "base/time/tick_clock.h" | 10 #include "base/time/tick_clock.h" |
| 9 #include "media/cast/cast_environment.h" | 11 #include "media/cast/cast_environment.h" |
| 10 #include "media/cast/logging/encoding_event_subscriber.h" | 12 #include "media/cast/logging/encoding_event_subscriber.h" |
| 11 #include "media/cast/logging/logging_defines.h" | 13 #include "media/cast/logging/logging_defines.h" |
| 12 #include "media/cast/test/fake_single_thread_task_runner.h" | 14 #include "media/cast/test/fake_single_thread_task_runner.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 16 |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 EXPECT_EQ(kMaxEventsPerProto, | 768 EXPECT_EQ(kMaxEventsPerProto, |
| 767 packet_event->base_packet_event(0).event_type_size()); | 769 packet_event->base_packet_event(0).event_type_size()); |
| 768 | 770 |
| 769 ++packet_it; | 771 ++packet_it; |
| 770 packet_event = *packet_it; | 772 packet_event = *packet_it; |
| 771 EXPECT_EQ(1, packet_event->base_packet_event(0).event_type_size()); | 773 EXPECT_EQ(1, packet_event->base_packet_event(0).event_type_size()); |
| 772 } | 774 } |
| 773 | 775 |
| 774 } // namespace cast | 776 } // namespace cast |
| 775 } // namespace media | 777 } // namespace media |
| OLD | NEW |