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

Side by Side Diff: media/formats/mp4/sample_to_group_iterator_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 4 years, 12 months 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/formats/mp4/sample_to_group_iterator.h ('k') | media/formats/mp4/track_run_iterator.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 "media/formats/mp4/sample_to_group_iterator.h" 5 #include "media/formats/mp4/sample_to_group_iterator.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
8 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
9 13
10 namespace media { 14 namespace media {
11 namespace mp4 { 15 namespace mp4 {
12 16
13 namespace { 17 namespace {
14 const SampleToGroupEntry kCompactSampleToGroupTable[] = 18 const SampleToGroupEntry kCompactSampleToGroupTable[] =
15 {{10, 8}, {9, 5}, {25, 7}, {48, 63}, {8, 2}}; 19 {{10, 8}, {9, 5}, {25, 7}, {48, 63}, {8, 2}};
16 } // namespace 20 } // namespace
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ASSERT_EQ(sample_to_group_table_[sample], 61 ASSERT_EQ(sample_to_group_table_[sample],
58 sample_to_group_iterator_->group_description_index()); 62 sample_to_group_iterator_->group_description_index());
59 ASSERT_TRUE(sample_to_group_iterator_->IsValid()); 63 ASSERT_TRUE(sample_to_group_iterator_->IsValid());
60 } 64 }
61 ASSERT_FALSE(sample_to_group_iterator_->Advance()); 65 ASSERT_FALSE(sample_to_group_iterator_->Advance());
62 ASSERT_FALSE(sample_to_group_iterator_->IsValid()); 66 ASSERT_FALSE(sample_to_group_iterator_->IsValid());
63 } 67 }
64 68
65 } // namespace mp4 69 } // namespace mp4
66 } // namespace media 70 } // namespace media
OLDNEW
« no previous file with comments | « media/formats/mp4/sample_to_group_iterator.h ('k') | media/formats/mp4/track_run_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698