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

Unified Diff: Source/modules/mediastream/MediaDevices.h

Issue 1202553002: Implement navigator.mediaDevices.getUserMedia() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments Created 5 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: Source/modules/mediastream/MediaDevices.h
diff --git a/Source/modules/mediastream/MediaDevices.h b/Source/modules/mediastream/MediaDevices.h
index ba26231c07cf87be3ac3e944a28d58ff8c8184f5..2ea0fccec9e3537b8219b148768a804aeb693954 100644
--- a/Source/modules/mediastream/MediaDevices.h
+++ b/Source/modules/mediastream/MediaDevices.h
@@ -10,6 +10,7 @@
namespace blink {
+class Dictionary;
class ScriptState;
class MediaDevices final : public GarbageCollected<MediaDevices>, public ScriptWrappable {
@@ -21,7 +22,7 @@ public:
}
ScriptPromise enumerateDevices(ScriptState*);
-
+ ScriptPromise getUserMedia(ScriptState*, const Dictionary&, ExceptionState&);
DEFINE_INLINE_TRACE() { }
private:

Powered by Google App Engine
This is Rietveld 408576698