Index: content/public/renderer/media_stream_utils.h |
diff --git a/content/public/renderer/media_stream_api.h b/content/public/renderer/media_stream_utils.h |
similarity index 83% |
rename from content/public/renderer/media_stream_api.h |
rename to content/public/renderer/media_stream_utils.h |
index b87c93defb5fc3cea366fb9006cb9686aca258ca..a20db416039503518e1f929110e3a9af997559a6 100644 |
--- a/content/public/renderer/media_stream_api.h |
+++ b/content/public/renderer/media_stream_utils.h |
@@ -2,18 +2,23 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
-#define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
+#ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ |
+#define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ |
+#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "content/common/content_export.h" |
-#include "media/base/audio_capturer_source.h" |
#include "media/base/channel_layout.h" |
-#include "media/base/video_capturer_source.h" |
namespace blink { |
class WebMediaStream; |
} |
+namespace media { |
+class AudioCapturerSource; |
+class VideoCapturerSource; |
+} |
+ |
namespace content { |
// These methods create a WebMediaStreamSource + MediaStreamSource pair with the |
// provided audio or video capturer source. A new WebMediaStreamTrack + |
@@ -43,4 +48,4 @@ CONTENT_EXPORT bool AddAudioTrackToMediaStream( |
} // namespace content |
-#endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
+#endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ |