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

Unified Diff: chrome/browser/ui/webui/options/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
« no previous file with comments | « chrome/browser/ui/webui/DEPS ('k') | chrome/browser/ui/webui/options/media_devices_selection_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/media_devices_selection_handler.h
diff --git a/chrome/browser/ui/webui/options/media_devices_selection_handler.h b/chrome/browser/ui/webui/options/media_devices_selection_handler.h
index f051c42fe8fffd2d29d4d6fe362709c34bc429f5..ff1355ad63365c9037f3e5299dc5d53f15ce1dda 100644
--- a/chrome/browser/ui/webui/options/media_devices_selection_handler.h
+++ b/chrome/browser/ui/webui/options/media_devices_selection_handler.h
@@ -47,6 +47,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;
+
DISALLOW_COPY_AND_ASSIGN(MediaDevicesSelectionHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/DEPS ('k') | chrome/browser/ui/webui/options/media_devices_selection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698