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

Side by Side Diff: media/base/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 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/base/stream_parser_buffer.h ('k') | media/base/test_data_util.cc » ('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 <algorithm> 8 #include <algorithm>
6 #include <sstream> 9 #include <sstream>
7 10
11 #include "base/macros.h"
8 #include "media/base/stream_parser.h" 12 #include "media/base/stream_parser.h"
9 #include "media/base/stream_parser_buffer.h" 13 #include "media/base/stream_parser_buffer.h"
10 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
11 15
12 namespace media { 16 namespace media {
13 17
14 typedef StreamParser::TrackId TrackId; 18 typedef StreamParser::TrackId TrackId;
15 typedef StreamParser::BufferQueue BufferQueue; 19 typedef StreamParser::BufferQueue BufferQueue;
16 typedef StreamParser::TextBufferQueueMap TextBufferQueueMap; 20 typedef StreamParser::TextBufferQueueMap TextBufferQueueMap;
17 21
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 VerifyMergeSuccess(expected, true); 375 VerifyMergeSuccess(expected, true);
372 376
373 // But appending something with a lower timestamp than the last timestamp 377 // But appending something with a lower timestamp than the last timestamp
374 // in the pre-existing merge result should fail. 378 // in the pre-existing merge result should fail.
375 int more_audio_timestamps[] = { 106, kEnd }; 379 int more_audio_timestamps[] = { 106, kEnd };
376 GenerateAudioBuffers(more_audio_timestamps); 380 GenerateAudioBuffers(more_audio_timestamps);
377 VerifyMergeFailure(); 381 VerifyMergeFailure();
378 } 382 }
379 383
380 } // namespace media 384 } // namespace media
OLDNEW
« no previous file with comments | « media/base/stream_parser_buffer.h ('k') | media/base/test_data_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698