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

Unified Diff: content/public/renderer/media_stream_utils.h

Issue 1773273007: Cleanup: media_stream_api.* ==> media_stream_utils.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « content/public/renderer/media_stream_api.cc ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/public/renderer/media_stream_api.cc ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698