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

Side by Side Diff: media/filters/frame_processor_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/filters/frame_processor.cc ('k') | media/filters/gpu_video_decoder.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 <map> 8 #include <map>
6 #include <string> 9 #include <string>
7 #include <vector> 10 #include <vector>
8 11
9 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
11 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
13 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
14 #include "base/time/time.h" 18 #include "base/time/time.h"
15 #include "media/base/media_log.h" 19 #include "media/base/media_log.h"
16 #include "media/base/media_util.h" 20 #include "media/base/media_util.h"
17 #include "media/base/mock_filters.h" 21 #include "media/base/mock_filters.h"
18 #include "media/base/test_helpers.h" 22 #include "media/base/test_helpers.h"
19 #include "media/base/timestamp_constants.h" 23 #include "media/base/timestamp_constants.h"
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 EXPECT_EQ(frame_duration_ * -9, timestamp_offset_); 757 EXPECT_EQ(frame_duration_ * -9, timestamp_offset_);
754 EXPECT_FALSE(new_media_segment_); 758 EXPECT_FALSE(new_media_segment_);
755 CheckExpectedRangesByTimestamp(audio_.get(), "{ [0,20) }"); 759 CheckExpectedRangesByTimestamp(audio_.get(), "{ [0,20) }");
756 CheckReadsThenReadStalls(audio_.get(), "0 10:100"); 760 CheckReadsThenReadStalls(audio_.get(), "0 10:100");
757 } 761 }
758 762
759 INSTANTIATE_TEST_CASE_P(SequenceMode, FrameProcessorTest, Values(true)); 763 INSTANTIATE_TEST_CASE_P(SequenceMode, FrameProcessorTest, Values(true));
760 INSTANTIATE_TEST_CASE_P(SegmentsMode, FrameProcessorTest, Values(false)); 764 INSTANTIATE_TEST_CASE_P(SegmentsMode, FrameProcessorTest, Values(false));
761 765
762 } // namespace media 766 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/frame_processor.cc ('k') | media/filters/gpu_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698