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

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

Issue 287383002: Implement getMediaDevices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 f63faad09a17eb79add77a2258cd751fa1addb7c..a52cb099d52501db3f92ba814428dedd2748e3ab 100644
--- a/content/renderer/media/media_stream_dispatcher.h
+++ b/content/renderer/media/media_stream_dispatcher.h
@@ -56,7 +56,7 @@ class CONTENT_EXPORT MediaStreamDispatcher
virtual void StopStreamDevice(const StreamDeviceInfo& device_info);
// Request to enumerate devices.
- void EnumerateDevices(
+ virtual void EnumerateDevices(
int request_id,
const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler,
MediaStreamType type,
@@ -123,7 +123,6 @@ class CONTENT_EXPORT MediaStreamDispatcher
void OnDevicesEnumerated(
int request_id,
const StreamDeviceInfoArray& device_array);
- void OnDevicesEnumerationFailed(int request_id);
void OnDeviceOpened(
int request_id,
const std::string& label,
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698