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

Unified Diff: content/renderer/media/user_media_client_impl.cc

Issue 2487133003: Remove dead code related to media device enumerations and monitoring. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/user_media_client_impl.cc
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc
index c3fdcac03d9a95739e8dc2772a858074b57b66f2..766ca8c73cdde201c5d439a94c7232b1c2f7721a 100644
--- a/content/renderer/media/user_media_client_impl.cc
+++ b/content/renderer/media/user_media_client_impl.cc
@@ -612,14 +612,6 @@ void UserMediaClientImpl::OnCreateNativeTracksCompleted(
DeleteUserMediaRequestInfo(request);
}
-// TODO(guidou): Remove once this method is removed from the
-// MediaStreamDispatcherEventHandler interface. http://648183.
-void UserMediaClientImpl::OnDevicesEnumerated(
- int request_id,
- const StreamDeviceInfoArray& device_array) {
- NOTREACHED();
-}
-
void UserMediaClientImpl::OnDeviceOpened(
int request_id,
const std::string& label,
@@ -635,12 +627,6 @@ void UserMediaClientImpl::OnDeviceOpenFailed(int request_id) {
NOTIMPLEMENTED();
}
-// TODO(guidou): Remove once this method is removed from the
-// MediaStreamDispatcherEventHandler interface. http://648183.
-void UserMediaClientImpl::OnDevicesChanged() {
- NOTREACHED();
-}
-
void UserMediaClientImpl::DevicesChanged(
MediaDeviceType type,
const MediaDeviceInfoArray& device_infos) {

Powered by Google App Engine
This is Rietveld 408576698