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

Unified Diff: components/html_viewer/setup.h

Issue 840473002: media: Support creation and SetCdm() for mojo based CDM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only; compiles but needs more polish... 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 | « components/html_viewer/html_document.cc ('k') | components/html_viewer/setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/setup.h
diff --git a/components/html_viewer/setup.h b/components/html_viewer/setup.h
index 15fc26b9cf25ed2b5df10bf01134458067a10a1e..3e906c9b64918c70a5728a5ead7163c4c9e99cfb 100644
--- a/components/html_viewer/setup.h
+++ b/components/html_viewer/setup.h
@@ -67,6 +67,8 @@ class Setup {
return web_media_player_factory_.get();
}
+ bool enable_mojo_media_renderer() { return enable_mojo_media_renderer_; }
+
private:
mojo::ApplicationImpl* app_;
@@ -94,6 +96,8 @@ class Setup {
scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_;
scoped_ptr<BlinkPlatformImpl> blink_platform_;
base::Thread compositor_thread_;
+
+ bool enable_mojo_media_renderer_;
scoped_ptr<WebMediaPlayerFactory> web_media_player_factory_;
DISALLOW_COPY_AND_ASSIGN(Setup);
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/html_viewer/setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698