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

Unified Diff: components/html_viewer/media_factory.cc

Issue 1165633004: media: Add MojoCdmServiceContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address related comments in https://codereview.chromium.org/840473002/#ps160001 Created 5 years, 7 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 | « no previous file | media/base/cdm_context.h » ('j') | media/base/cdm_context.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/media_factory.cc
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc
index 0abc42e96ead3474ab3c269b67baf843b345d49b..00f84eb97ac03267fe0f2521f07364cb9a0953a6 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -158,6 +158,8 @@ media::MediaServiceProvider* MediaFactory::GetMediaServiceProvider() {
}
media::MediaPermission* MediaFactory::GetMediaPermission() {
+ // TODO(xhwang): Replace DefaultMediaPermission with something real when
+ // permissions are supported in html_viewer.
if (!media_permission_)
media_permission_.reset(new media::DefaultMediaPermission(true));
return media_permission_.get();
« no previous file with comments | « no previous file | media/base/cdm_context.h » ('j') | media/base/cdm_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698