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/rand_util.h" | 10 #include "base/rand_util.h" |
8 #include "base/test/simple_test_tick_clock.h" | 11 #include "base/test/simple_test_tick_clock.h" |
9 #include "base/time/tick_clock.h" | 12 #include "base/time/tick_clock.h" |
10 #include "base/values.h" | 13 #include "base/values.h" |
11 #include "media/cast/cast_environment.h" | 14 #include "media/cast/cast_environment.h" |
12 #include "media/cast/logging/logging_defines.h" | 15 #include "media/cast/logging/logging_defines.h" |
13 #include "media/cast/logging/stats_event_subscriber.h" | 16 #include "media/cast/logging/stats_event_subscriber.h" |
14 #include "media/cast/test/fake_receiver_time_offset_estimator.h" | 17 #include "media/cast/test/fake_receiver_time_offset_estimator.h" |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 | 680 |
678 histogram = subscriber_->GetHistogramForTesting( | 681 histogram = subscriber_->GetHistogramForTesting( |
679 StatsEventSubscriber::LATE_FRAME_MS_HISTO); | 682 StatsEventSubscriber::LATE_FRAME_MS_HISTO); |
680 ASSERT_TRUE(histogram); | 683 ASSERT_TRUE(histogram); |
681 values = histogram->GetHistogram().Pass(); | 684 values = histogram->GetHistogram().Pass(); |
682 EXPECT_TRUE(CheckHistogramHasValue(values.get(), "100-119", 1)); | 685 EXPECT_TRUE(CheckHistogramHasValue(values.get(), "100-119", 1)); |
683 } | 686 } |
684 | 687 |
685 } // namespace cast | 688 } // namespace cast |
686 } // namespace media | 689 } // namespace media |
OLD | NEW |