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

Unified Diff: chromecast/media/cdm/cast_cdm_factory.h

Issue 2478453002: [Chromecast] Use CdmConfig to create CDM (Closed)
Patch Set: Nit Created 4 years, 1 month 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 | « no previous file | chromecast/media/cdm/cast_cdm_factory.cc » ('j') | chromecast/media/cdm/cast_cdm_factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cdm/cast_cdm_factory.h
diff --git a/chromecast/media/cdm/cast_cdm_factory.h b/chromecast/media/cdm/cast_cdm_factory.h
index 4d13558d78bd36d87ae496f207c5d446b89b92f5..7d1201bbdf602adabad62bc0f92a3d9741cb5f82 100644
--- a/chromecast/media/cdm/cast_cdm_factory.h
+++ b/chromecast/media/cdm/cast_cdm_factory.h
@@ -15,6 +15,10 @@ namespace base {
class SingleThreadTaskRunner;
} // namespace base
+namespace media {
+struct CdmConfig;
+} // namespace media
+
namespace chromecast {
namespace media {
@@ -41,7 +45,8 @@ class CastCdmFactory : public ::media::CdmFactory {
// Provides a platform-specific BrowserCdm instance.
virtual scoped_refptr<CastCdm> CreatePlatformBrowserCdm(
const CastKeySystem& cast_key_system,
- const GURL& security_origin);
+ const GURL& security_origin,
+ const ::media::CdmConfig& cdm_config);
protected:
MediaResourceTracker* media_resource_tracker_;
« no previous file with comments | « no previous file | chromecast/media/cdm/cast_cdm_factory.cc » ('j') | chromecast/media/cdm/cast_cdm_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698