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

Unified Diff: media/capture/video/video_capture_device_descriptor.h

Issue 2703393007: Show meaningful name for cameras (Closed)
Patch Set: rebase 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: media/capture/video/video_capture_device_descriptor.h
diff --git a/media/capture/video/video_capture_device_descriptor.h b/media/capture/video/video_capture_device_descriptor.h
index 28ec8a283a0a845594717599685d06c0516a07cb..b0532082ec3b29affc95ddbf3b77d4df281523ba 100644
--- a/media/capture/video/video_capture_device_descriptor.h
+++ b/media/capture/video/video_capture_device_descriptor.h
@@ -72,6 +72,7 @@ struct CAPTURE_EXPORT VideoCaptureDeviceDescriptor {
const char* GetCaptureApiTypeString() const;
// Friendly name of a device, plus the model identifier in parentheses.
std::string GetNameAndModel() const;
+ std::string GetHumanReadableName() const;
std::string display_name; // Name that is intended for display in the UI
std::string device_id;

Powered by Google App Engine
This is Rietveld 408576698