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

Unified Diff: content/browser/media/cdm/browser_cdm_manager.cc

Issue 1837143002: media: Pass MediaPermission to MediaDrmBridge Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More plumbing Created 4 years, 8 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/gpu/gpu_process_host.cc ('k') | content/common/media/media_permission_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/cdm/browser_cdm_manager.cc
diff --git a/content/browser/media/cdm/browser_cdm_manager.cc b/content/browser/media/cdm/browser_cdm_manager.cc
index c50184af2487736dbc9d54c10ca253d1081ef84c..f1ddbd19fec6e232383f19e0b66eff91ec8a738f 100644
--- a/content/browser/media/cdm/browser_cdm_manager.cc
+++ b/content/browser/media/cdm/browser_cdm_manager.cc
@@ -297,8 +297,10 @@ media::CdmFactory* BrowserCdmManager::GetCdmFactory() {
GetBrowserContext())->GetURLRequestContext();
DCHECK(context_getter);
+ // Permission check is done in BrowserCdmManager so just pass in a null
+ // MediaPermission.
cdm_factory_.reset(new media::AndroidCdmFactory(
- base::Bind(&CreateProvisionFetcher, context_getter)));
+ nullptr, base::Bind(&CreateProvisionFetcher, context_getter)));
}
#endif
}
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/media/media_permission_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698