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

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

Issue 135363004: MediaStream API: Patch #1 of implementing navigator.getMediaDevices (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed year Created 6 years, 11 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/UserMediaClient.h
diff --git a/Source/modules/mediastream/UserMediaClient.h b/Source/modules/mediastream/UserMediaClient.h
index 891f0dc11e439f932555e357b8c079bed515bfee..5d72b1eb0b84959d938f162cbad719e8407b2430 100644
--- a/Source/modules/mediastream/UserMediaClient.h
+++ b/Source/modules/mediastream/UserMediaClient.h
@@ -31,6 +31,7 @@
#ifndef UserMediaClient_h
#define UserMediaClient_h
+#include "modules/mediastream/MediaDevicesRequest.h"
#include "modules/mediastream/UserMediaRequest.h"
#include "wtf/text/WTFString.h"
@@ -42,6 +43,8 @@ class UserMediaClient {
public:
virtual void requestUserMedia(PassRefPtr<UserMediaRequest>) = 0;
virtual void cancelUserMediaRequest(UserMediaRequest*) = 0;
+ virtual void requestMediaDevices(PassRefPtr<MediaDevicesRequest>) = 0;
+ virtual void cancelMediaDevicesRequest(MediaDevicesRequest*) = 0;
protected:
virtual ~UserMediaClient() { }
« no previous file with comments | « Source/modules/mediastream/NavigatorMediaStream.cpp ('k') | Source/modules/mediastream/UserMediaController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698