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

Unified Diff: chrome/browser/ui/media_utils.h

Issue 2629383002: Add functionality to get default media device IDs from user preferences. (Closed)
Patch Set: Created 3 years, 11 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/media_utils.h
diff --git a/chrome/browser/ui/media_utils.h b/chrome/browser/ui/media_utils.h
index 5db46e6ffb3c96f0e84617e9301d099e1dec39d4..a58b23e17b13d88a46b499aab57fe6fdc73fec39 100644
--- a/chrome/browser/ui/media_utils.h
+++ b/chrome/browser/ui/media_utils.h
@@ -25,4 +25,7 @@ bool CheckMediaAccessPermission(content::WebContents* web_contents,
const GURL& security_origin,
content::MediaStreamType type);
+std::string GetDefaultMediaDeviceId(content::WebContents* web_contents,
+ content::MediaStreamType type);
+
#endif // CHROME_BROWSER_UI_MEDIA_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698