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

Side by Side Diff: media/formats/mp2t/mp2t_stream_parser_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
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 <algorithm> 8 #include <algorithm>
6 #include <string> 9 #include <string>
7 10
8 #include "base/bind.h" 11 #include "base/bind.h"
9 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
10 #include "base/logging.h" 13 #include "base/logging.h"
11 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
12 #include "base/time/time.h" 15 #include "base/time/time.h"
13 #include "media/base/audio_decoder_config.h" 16 #include "media/base/audio_decoder_config.h"
14 #include "media/base/decoder_buffer.h" 17 #include "media/base/decoder_buffer.h"
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 parser_->Flush(); 290 parser_->Flush();
288 EXPECT_EQ(audio_frame_count_, 40); 291 EXPECT_EQ(audio_frame_count_, 40);
289 EXPECT_EQ(video_frame_count_, 0); 292 EXPECT_EQ(video_frame_count_, 0);
290 // This stream has no mid-stream configuration change. 293 // This stream has no mid-stream configuration change.
291 EXPECT_EQ(config_count_, 1); 294 EXPECT_EQ(config_count_, 1);
292 EXPECT_EQ(segment_count_, 1); 295 EXPECT_EQ(segment_count_, 1);
293 } 296 }
294 297
295 } // namespace mp2t 298 } // namespace mp2t
296 } // namespace media 299 } // namespace media
OLDNEW
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser.h ('k') | media/formats/mp2t/timestamp_unroller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698