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

Unified Diff: chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h

Issue 2703393007: Show meaningful name for cameras (Closed)
Patch Set: fix trybot Created 3 years, 10 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: chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h
diff --git a/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h b/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h
index 2bd009b2ea0e8523b48351e73c95fe4ac9b75b48..9d0863b955afacf9ffed7c0b37c8bfb78e6f8ab1 100644
--- a/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h
+++ b/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.h
@@ -51,6 +51,10 @@ class MediaDevicesSelectionHandler
void UpdateDevicesMenu(DeviceType type,
const content::MediaStreamDevices& devices);
+ // Gets the human readable name of the device.
+ std::string GetDeviceDisplayName(
+ const content::MediaStreamDevice& device) const;
+
Profile* profile_; // Weak pointer.
ScopedObserver<MediaCaptureDevicesDispatcher,

Powered by Google App Engine
This is Rietveld 408576698