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

Unified Diff: Source/modules/mediasource/MediaSource.h

Issue 461163002: Cleanup namespace usage in Source/core/modules/[mediasource/* to websockets/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | Source/modules/mediasource/SourceBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/MediaSource.h
diff --git a/Source/modules/mediasource/MediaSource.h b/Source/modules/mediasource/MediaSource.h
index 2b54dfefd1d92dbd140399411dcae28978c30f34..673d60ce86a36c7a45c1f34fd04425e55282849e 100644
--- a/Source/modules/mediasource/MediaSource.h
+++ b/Source/modules/mediasource/MediaSource.h
@@ -42,13 +42,10 @@
#include "wtf/Vector.h"
namespace blink {
-class WebSourceBuffer;
-}
-
-namespace blink {
class ExceptionState;
class GenericEventQueue;
+class WebSourceBuffer;
class MediaSource FINAL
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaSource>
@@ -78,7 +75,7 @@ public:
// HTMLMediaSource
virtual bool attachToElement(HTMLMediaElement*) OVERRIDE;
- virtual void setWebMediaSourceAndOpen(PassOwnPtr<blink::WebMediaSource>) OVERRIDE;
+ virtual void setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource>) OVERRIDE;
virtual void close() OVERRIDE;
virtual bool isClosed() const OVERRIDE;
virtual double duration() const OVERRIDE;
@@ -118,15 +115,15 @@ private:
bool isUpdating() const;
- PassOwnPtr<blink::WebSourceBuffer> createWebSourceBuffer(const String& type, const Vector<String>& codecs, ExceptionState&);
+ PassOwnPtr<WebSourceBuffer> createWebSourceBuffer(const String& type, const Vector<String>& codecs, ExceptionState&);
void scheduleEvent(const AtomicString& eventName);
- void endOfStreamInternal(const blink::WebMediaSource::EndOfStreamStatus, ExceptionState&);
+ void endOfStreamInternal(const WebMediaSource::EndOfStreamStatus, ExceptionState&);
// Implements the duration change algorithm.
// https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#duration-change-algorithm
void durationChangeAlgorithm(double newDuration);
- OwnPtr<blink::WebMediaSource> m_webMediaSource;
+ OwnPtr<WebMediaSource> m_webMediaSource;
AtomicString m_readyState;
OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue;
RawPtrWillBeWeakMember<HTMLMediaElement> m_attachedElement;
« no previous file with comments | « no previous file | Source/modules/mediasource/SourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698