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

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

Issue 2703393007: Show meaningful name for cameras (Closed)
Patch Set: Moved to chrome/browser/ui/webui/ 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..d710884d4d1a0ec9c35792af2bf61450f3ebc8c9 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,8 @@ class MediaDevicesSelectionHandler
void UpdateDevicesMenu(DeviceType type,
const content::MediaStreamDevices& devices);
+ std::string GetDeviceDisplayName(const content::MediaStreamDevice& device);
mtomasz 2017/03/02 07:49:53 nit: Can this method be const?
shenghao 2017/03/02 12:43:41 Done.
+
Profile* profile_; // Weak pointer.
ScopedObserver<MediaCaptureDevicesDispatcher,

Powered by Google App Engine
This is Rietveld 408576698