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

Unified Diff: public/platform/WebMediaSource.h

Issue 309933002: MSE: Complete removal of Blink-side support for LegacyFrameProcessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase w.r.t. updated part 1 of three-sided change Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMediaSource.h
diff --git a/public/platform/WebMediaSource.h b/public/platform/WebMediaSource.h
index 3d57563712faffc2121048dbc23e89c0a94c1de2..4c6f21cd135f7ed239419e612a7c7c0188577202 100644
--- a/public/platform/WebMediaSource.h
+++ b/public/platform/WebMediaSource.h
@@ -31,7 +31,6 @@
#ifndef WebMediaSource_h
#define WebMediaSource_h
-#include "WebCommon.h"
#include "WebTimeRange.h"
#include "WebURL.h"
@@ -53,27 +52,8 @@ public:
EndOfStreamStatusDecodeError,
};
- enum FrameProcessorChoice {
- UseLegacyFrameProcessor,
- UseNewFrameProcessor
- };
-
virtual ~WebMediaSource() { }
- // FIXME: Remove addSourceBuffer() that has FrameProcessorChoice, and remove
- // the default implementations for addSourceBuffer() once Chromium
- // implementation of the addSourceBuffer() with no FrameProcessorChoice has
- // landed. See http://crbug.com/249422.
- virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, const FrameProcessorChoice, WebSourceBuffer** webSourceBuffer)
- {
- // This default implementation should never be called for real.
- BLINK_ASSERT_NOT_REACHED();
- return AddStatusReachedIdLimit;
- }
- virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, WebSourceBuffer** webSourceBuffer)
- {
- return addSourceBuffer(type, codecs, WebMediaSource::UseNewFrameProcessor, webSourceBuffer);
- }
-
+ virtual AddStatus addSourceBuffer(const WebString& type, const WebVector<WebString>& codecs, WebSourceBuffer**) = 0;
virtual double duration() = 0;
virtual void setDuration(double) = 0;
virtual void markEndOfStream(EndOfStreamStatus) = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698