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

Side by Side Diff: media/base/android/test_data_factory.h

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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_ 5 #ifndef MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_
6 #define MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_ 6 #define MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <set> 10 #include <set>
10 #include <vector> 11 #include <vector>
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "media/base/android/demuxer_stream_player_params.h" 14 #include "media/base/android/demuxer_stream_player_params.h"
14 15
15 namespace media { 16 namespace media {
16 17
17 // TestDataFactory is used by MediaCodecDecoder unit test and MediaCodecPlayer 18 // TestDataFactory is used by MediaCodecDecoder unit test and MediaCodecPlayer
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 base::TimeDelta last_pts_; // subclass can modify PTS, maintain the last 92 base::TimeDelta last_pts_; // subclass can modify PTS, maintain the last
92 PTSSet reconfigs_; // ConfigChange requests 93 PTSSet reconfigs_; // ConfigChange requests
93 size_t total_chunks_; // total number of chunks returned 94 size_t total_chunks_; // total number of chunks returned
94 bool starvation_mode_; // true means no EOS at the end 95 bool starvation_mode_; // true means no EOS at the end
95 bool eos_reached_; // true if CreateChunk() returned EOS frame 96 bool eos_reached_; // true if CreateChunk() returned EOS frame
96 }; 97 };
97 98
98 } // namespace media 99 } // namespace media
99 100
100 #endif // MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_ 101 #endif // MEDIA_BASE_ANDROID_TEST_DATA_FACTORY_H_
OLDNEW
« no previous file with comments | « media/base/android/sdk_media_codec_bridge_unittest.cc ('k') | media/base/android/video_decoder_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698