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

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

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed include file changes Created 5 years, 10 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/public/renderer/media_stream_source_api.h
diff --git a/content/public/renderer/media_stream_source_api.h b/content/public/renderer/media_stream_source_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..49c1786ba9055f743855a03efcbd3932c6ca2641
--- /dev/null
+++ b/content/public/renderer/media_stream_source_api.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// 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_SOURCE_API_H_
+#define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SOURCE_API_H_
+
+#include "content/common/content_export.h"
+#include "media/base/audio_capturer_source.h"
+#include "media/base/video_capturer_source.h"
+
+namespace blink {
+class WebMediaStreamSource;
+}
+
+namespace content {
+
+CONTENT_EXPORT void InitializeVideoWebMediaStreamSource(
perkj_chrome 2015/02/09 14:50:27 please add documentation
hubbe 2015/02/09 20:13:32 Comment added.
+ scoped_refptr<media::VideoCapturerSource> source,
+ blink::WebMediaStreamSource* webkit_source);
+CONTENT_EXPORT void InitializeAudioWebMediaStreamSource(
+ scoped_refptr<media::AudioCapturerSource> source,
+ blink::WebMediaStreamSource* webkit_source);
+
+// TODO(Hubbe): remove methods?
perkj_chrome 2015/02/09 14:50:27 ?
hubbe 2015/02/09 20:13:32 This comment made more sense when the above method
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_

Powered by Google App Engine
This is Rietveld 408576698