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

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

Issue 10928043: Media Related changes for TabCapture API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 8 years, 2 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/media_stream_dispatcher.h
diff --git a/content/renderer/media/media_stream_dispatcher.h b/content/renderer/media/media_stream_dispatcher.h
index 28dc12d6b1d2246b77912af2126a906f39878742..060b98571baf2652412f151a7f16ad7ef6746890 100644
--- a/content/renderer/media/media_stream_dispatcher.h
+++ b/content/renderer/media/media_stream_dispatcher.h
@@ -45,15 +45,6 @@ class CONTENT_EXPORT MediaStreamDispatcher
media_stream::StreamOptions components,
const GURL& security_origin);
- // Like GenerateStream above, except use the device specified by |device_id|
- // rather than allow the user to choose one.
- virtual void GenerateStreamForDevice(
- int request_id,
- const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler,
- media_stream::StreamOptions components,
- const std::string& device_id,
- const GURL& security_origin);
-
// Cancel the request for a new media stream to be created.
virtual void CancelGenerateStream(int request_id);
@@ -165,8 +156,7 @@ class CONTENT_EXPORT MediaStreamDispatcher
EnumerationState audio_enumeration_state_;
EnumerationState video_enumeration_state_;
- // List of calls made to GenerateStream/GenerateStreamForDevice that has not
- // yet completed.
+ // List of calls made to GenerateStream that have not yet completed.
typedef std::list<Request> RequestList;
RequestList requests_;

Powered by Google App Engine
This is Rietveld 408576698