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

Unified Diff: media/base/fake_demuxer_stream.h

Issue 2668393002: Rename DemuxerStreamProvider into MediaResource (Closed)
Patch Set: rebase Created 3 years, 11 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/fake_demuxer_stream.h
diff --git a/media/base/fake_demuxer_stream.h b/media/base/fake_demuxer_stream.h
index d090fe6ac50479bb405682a63e76051e91789f77..14b86ff65fe4c357d815711d05182931aa099816 100644
--- a/media/base/fake_demuxer_stream.h
+++ b/media/base/fake_demuxer_stream.h
@@ -9,7 +9,7 @@
#include "base/memory/ref_counted.h"
#include "media/base/audio_decoder_config.h"
#include "media/base/demuxer_stream.h"
-#include "media/base/demuxer_stream_provider.h"
+#include "media/base/media_resource.h"
#include "media/base/video_decoder_config.h"
namespace base {
@@ -103,21 +103,21 @@ class FakeDemuxerStream : public DemuxerStream {
DISALLOW_COPY_AND_ASSIGN(FakeDemuxerStream);
};
-class FakeDemuxerStreamProvider : public DemuxerStreamProvider {
+class FakeMediaResource : public MediaResource {
public:
// Note: FakeDemuxerStream currently only supports a fake video DemuxerStream.
- FakeDemuxerStreamProvider(int num_video_configs,
- int num_video_buffers_in_one_config,
- bool is_video_encrypted);
- ~FakeDemuxerStreamProvider() override;
+ FakeMediaResource(int num_video_configs,
+ int num_video_buffers_in_one_config,
+ bool is_video_encrypted);
+ ~FakeMediaResource() override;
- // DemuxerStreamProvider implementation.
+ // MediaResource implementation.
DemuxerStream* GetStream(DemuxerStream::Type type) override;
private:
FakeDemuxerStream fake_video_stream_;
- DISALLOW_COPY_AND_ASSIGN(FakeDemuxerStreamProvider);
+ DISALLOW_COPY_AND_ASSIGN(FakeMediaResource);
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698