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

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: Rebase 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
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index 0f0b7ce70f004cca950c9eea9f677fd4429452bc..6992f290b0152fdc90a46d9448dc73d9fbe000ce 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -65,6 +65,8 @@ class MockDemuxerStream : public DemuxerStream {
void set_liveness(Liveness liveness);
VideoRotation video_rotation() override;
+ int GetMemoryLimit() const override;
+ void SetMemoryLimit(int memory_limit) override;
private:
Type type_;

Powered by Google App Engine
This is Rietveld 408576698