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

Unified Diff: media/base/mock_filters.h

Issue 1171263004: Allow setting memory limits on media::DemuxerStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merged CL that adds get/set buffer size on WMP Created 5 years, 6 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/base/fake_text_track_stream.cc ('k') | media/base/mock_filters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 99e113b27ee1d518c730580f5aecfb882838422b..8afd267a1adf895fdfeee7218ce9a55ff5d4484b 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -66,6 +66,8 @@ class MockDemuxerStream : public DemuxerStream {
void set_liveness(Liveness liveness);
VideoRotation video_rotation() override;
+ size_t GetMemoryLimit() const override;
+ void SetMemoryLimit(size_t memory_limit) override;
private:
Type type_;
« no previous file with comments | « media/base/fake_text_track_stream.cc ('k') | media/base/mock_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698