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

Unified Diff: Source/platform/mediastream/MediaStreamComponent.h

Issue 499213002: Cleanup redundant namespace usage in Source/platform (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/platform/Prerender.h ('k') | Source/platform/mediastream/MediaStreamTrackSourcesRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mediastream/MediaStreamComponent.h
diff --git a/Source/platform/mediastream/MediaStreamComponent.h b/Source/platform/mediastream/MediaStreamComponent.h
index 47d6ae8592ee540bd258853f23f54f23ecac4af6..69f58b29b2e933b0b287c67c9b77afdc9f0bd119 100644
--- a/Source/platform/mediastream/MediaStreamComponent.h
+++ b/Source/platform/mediastream/MediaStreamComponent.h
@@ -40,13 +40,10 @@
#include "wtf/text/WTFString.h"
namespace blink {
-class WebAudioSourceProvider;
-}
-
-namespace blink {
class MediaStreamDescriptor;
class MediaStreamSource;
+class WebAudioSourceProvider;
class PLATFORM_EXPORT MediaStreamComponent : public RefCounted<MediaStreamComponent> {
public:
@@ -67,7 +64,7 @@ public:
#if ENABLE(WEB_AUDIO)
AudioSourceProvider* audioSourceProvider() { return &m_sourceProvider; }
- void setSourceProvider(blink::WebAudioSourceProvider* provider) { m_sourceProvider.wrap(provider); }
+ void setSourceProvider(WebAudioSourceProvider* provider) { m_sourceProvider.wrap(provider); }
#endif // ENABLE(WEB_AUDIO)
ExtraData* extraData() const { return m_extraData.get(); }
@@ -90,13 +87,13 @@ private:
virtual ~AudioSourceProviderImpl() { }
// Wraps the given blink::WebAudioSourceProvider to blink::AudioSourceProvider.
- void wrap(blink::WebAudioSourceProvider*);
+ void wrap(WebAudioSourceProvider*);
// blink::AudioSourceProvider
virtual void provideInput(blink::AudioBus*, size_t framesToProcess) OVERRIDE;
private:
- blink::WebAudioSourceProvider* m_webAudioSourceProvider;
+ WebAudioSourceProvider* m_webAudioSourceProvider;
Mutex m_provideInputLock;
};
« no previous file with comments | « Source/platform/Prerender.h ('k') | Source/platform/mediastream/MediaStreamTrackSourcesRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698