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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2646833002: Add IPC to query capabilities of video input devices. (Closed)
Patch Set: address comment from clamy 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/media/media_devices.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 95a45927753fc3a64f770e520c67a380f60e3c38..d04b15b1420eeb26e7ba20eea3a705ddd3419cd0 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2358,6 +2358,12 @@ bool WebContentsImpl::CheckMediaAccessPermission(const GURL& security_origin,
delegate_->CheckMediaAccessPermission(this, security_origin, type);
}
+std::string WebContentsImpl::GetDefaultMediaDeviceID(MediaStreamType type) {
+ if (!delegate_)
+ return std::string();
+ return delegate_->GetDefaultMediaDeviceID(this, type);
+}
+
SessionStorageNamespace* WebContentsImpl::GetSessionStorageNamespace(
SiteInstance* instance) {
return controller_.GetSessionStorageNamespace(instance);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/media/media_devices.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698