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

Unified Diff: content/renderer/media/webaudiosourceprovider_impl.h

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: content/renderer/media/webaudiosourceprovider_impl.h
diff --git a/webkit/renderer/media/webaudiosourceprovider_impl.h b/content/renderer/media/webaudiosourceprovider_impl.h
similarity index 88%
rename from webkit/renderer/media/webaudiosourceprovider_impl.h
rename to content/renderer/media/webaudiosourceprovider_impl.h
index 0f3955328d6bb53230588f8002d85a42a8e5c652..b00d78047a3bd59fd35ad13b5b621d575b333d5b 100644
--- a/webkit/renderer/media/webaudiosourceprovider_impl.h
+++ b/content/renderer/media/webaudiosourceprovider_impl.h
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_
-#define WEBKIT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_
+#ifndef CONTENT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_
#include "base/synchronization/lock.h"
+#include "content/common/content_export.h"
#include "media/base/audio_renderer_sink.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebAudioSourceProvider.h"
@@ -14,7 +15,7 @@ namespace WebKit {
class WebAudioSourceProviderClient;
}
-namespace webkit_media {
+namespace content {
// WebAudioSourceProviderImpl provides a bridge between classes:
// WebKit::WebAudioSourceProvider <---> media::AudioRendererSink
@@ -25,7 +26,7 @@ namespace webkit_media {
// sample-frames using the sink's RenderCallback to get the data.
//
// All calls are protected by a lock.
-class WebAudioSourceProviderImpl
+class CONTENT_EXPORT WebAudioSourceProviderImpl
: public WebKit::WebAudioSourceProvider,
public media::AudioRendererSink {
public:
@@ -73,6 +74,6 @@ class WebAudioSourceProviderImpl
DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl);
};
-} // namespace webkit_media
+} // namespace content
-#endif // WEBKIT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_
+#endif // CONTENT_RENDERER_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698