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

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: comments addressed Created 5 years, 6 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') | no next file with comments »
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 29a153bcdb920372431b29e62ce52283f9d09e67..75a78a17ab96675be80efc91641db9f461f6ee79 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -156,6 +156,10 @@ media::MediaServiceProvider* MediaFactory::GetMediaServiceProvider() {
}
media::MediaPermission* MediaFactory::GetMediaPermission() {
+ // TODO(xhwang): Replace DefaultMediaPermission with something real when
+ // permissions are supported in html_viewer.
+ NOTIMPLEMENTED();
+
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698