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

Unified Diff: media/filters/fake_video_decoder.h

Issue 2835203006: media: Refactor VideoFrameStreamTest (Closed)
Patch Set: comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/decoder_stream.cc ('k') | media/filters/fake_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/fake_video_decoder.h
diff --git a/media/filters/fake_video_decoder.h b/media/filters/fake_video_decoder.h
index 3ac932f3f4bb0295721295d357d90ea193243892..4c5568f781735129833e80d31d8748dd751bc0c9 100644
--- a/media/filters/fake_video_decoder.h
+++ b/media/filters/fake_video_decoder.h
@@ -34,7 +34,8 @@ class FakeVideoDecoder : public VideoDecoder {
// Constructs an object with a decoding delay of |decoding_delay| frames.
// |bytes_decoded_cb| is called after each decode. The sum of the byte
// count over all calls will be equal to total_bytes_decoded().
- FakeVideoDecoder(int decoding_delay,
+ FakeVideoDecoder(const std::string& decoder_name,
+ int decoding_delay,
int max_parallel_decoding_requests,
const BytesDecodedCB& bytes_decoded_cb);
~FakeVideoDecoder() override;
@@ -98,6 +99,7 @@ class FakeVideoDecoder : public VideoDecoder {
base::ThreadChecker thread_checker_;
+ const std::string decoder_name_;
const size_t decoding_delay_;
const int max_parallel_decoding_requests_;
BytesDecodedCB bytes_decoded_cb_;
« no previous file with comments | « media/filters/decoder_stream.cc ('k') | media/filters/fake_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698