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

Unified Diff: Source/modules/mediasource/SourceBuffer.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 | « Source/modules/mediasource/MediaSource.h ('k') | Source/modules/mediastream/MediaConstraintsImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBuffer.h
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h
index 6260ff06e8d3ef6b547ae91447694ff28a84ee75..60f15c3f0fae9740ad2d7e74203fe77ea8c2ac32 100644
--- a/Source/modules/mediasource/SourceBuffer.h
+++ b/Source/modules/mediasource/SourceBuffer.h
@@ -41,10 +41,6 @@
#include "wtf/text/WTFString.h"
namespace blink {
-class WebSourceBuffer;
-}
-
-namespace blink {
class ExceptionState;
class FileReaderLoader;
@@ -52,12 +48,13 @@ class GenericEventQueue;
class MediaSource;
class Stream;
class TimeRanges;
+class WebSourceBuffer;
class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineData, public FileReaderLoaderClient {
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<SourceBuffer>);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer);
public:
- static SourceBuffer* create(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*);
+ static SourceBuffer* create(PassOwnPtr<WebSourceBuffer>, MediaSource*, GenericEventQueue*);
static const AtomicString& segmentsKeyword();
static const AtomicString& sequenceKeyword();
@@ -97,7 +94,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- SourceBuffer(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*);
+ SourceBuffer(PassOwnPtr<WebSourceBuffer>, MediaSource*, GenericEventQueue*);
bool isRemoved() const;
void scheduleEvent(const AtomicString& eventName);
@@ -118,7 +115,7 @@ private:
virtual void didFinishLoading() OVERRIDE;
virtual void didFail(FileError::ErrorCode) OVERRIDE;
- OwnPtr<blink::WebSourceBuffer> m_webSourceBuffer;
+ OwnPtr<WebSourceBuffer> m_webSourceBuffer;
Member<MediaSource> m_source;
GenericEventQueue* m_asyncEventQueue;
« no previous file with comments | « Source/modules/mediasource/MediaSource.h ('k') | Source/modules/mediastream/MediaConstraintsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698