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

Unified Diff: content/browser/renderer_host/media/media_stream_provider.h

Issue 2729783003: [Mojo Video Capture] Add content_browsertest for exercising video capture (Closed)
Patch Set: incorporated miu@'s suggestions Created 3 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
Index: content/browser/renderer_host/media/media_stream_provider.h
diff --git a/content/browser/renderer_host/media/media_stream_provider.h b/content/browser/renderer_host/media/media_stream_provider.h
index 69e7dab3c821a7a9002204aaf385d2a61d7e35ab..6131c9c66da98f5c7d29a85fff60514b935af5e3 100644
--- a/content/browser/renderer_host/media/media_stream_provider.h
+++ b/content/browser/renderer_host/media/media_stream_provider.h
@@ -58,13 +58,13 @@ class CONTENT_EXPORT MediaStreamProvider
virtual void RegisterListener(MediaStreamProviderListener* listener) = 0;
// Unregisters a previously registered listener.
- virtual void UnregisterListener() = 0;
+ virtual void UnregisterListener(MediaStreamProviderListener* listener) = 0;
// Opens the specified device. The device is not started and it is still
// possible for other applications to open the device before the device is
// started. |Opened| is called when the device is opened.
// kInvalidMediaCaptureSessionId is returned on error.
- virtual int Open(const StreamDeviceInfo& device) = 0;
+ virtual int Open(const MediaStreamDevice& device) = 0;
// Closes the specified device and calls |Closed| when done.
virtual void Close(int capture_session_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698