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

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

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments Created 4 years, 8 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/webmediaplayer_ms_compositor.h
diff --git a/content/renderer/media/webmediaplayer_ms_compositor.h b/content/renderer/media/webmediaplayer_ms_compositor.h
index baed21e5f5366a4344511b142e3a676c0c6006bf..87aaacb07e3fe9738424b860932c023cbda4f3bc 100644
--- a/content/renderer/media/webmediaplayer_ms_compositor.h
+++ b/content/renderer/media/webmediaplayer_ms_compositor.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H
-#define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H
+#ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_
+#define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_
#include <stddef.h>
@@ -23,7 +23,7 @@ class SingleThreadTaskRunner;
}
namespace blink {
-class WebURL;
+class WebMediaStream;
}
namespace gfx {
@@ -56,7 +56,7 @@ class CONTENT_EXPORT WebMediaPlayerMSCompositor
// we enable algorithm or not.
WebMediaPlayerMSCompositor(
const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner,
- const blink::WebURL& url,
+ const blink::WebMediaStream& web_stream,
const base::WeakPtr<WebMediaPlayerMS>& player);
~WebMediaPlayerMSCompositor() override;
@@ -154,6 +154,6 @@ class CONTENT_EXPORT WebMediaPlayerMSCompositor
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMSCompositor);
};
-}
+} // namespace content
-#endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H
+#endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_COMPOSITOR_H_

Powered by Google App Engine
This is Rietveld 408576698