Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: media/cast/logging/stats_event_subscriber_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/cast/logging/stats_event_subscriber.h ('k') | media/cast/net/cast_transport_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « media/cast/logging/stats_event_subscriber.h ('k') | media/cast/net/cast_transport_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698