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

Unified Diff: chromecast/browser/cast_content_browser_client.h

Issue 1854893002: [chromecast] Bind and run mojo media services on cma thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments 2 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 | « chromecast/browser/DEPS ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index 19ccffacc522ab4e15ac669d140e9b70826791ca..a4694f4eb379bd0e849056be7efd38e98da7de58 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -67,6 +67,9 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
media::VideoPlaneController* video_plane_controller);
#if !defined(OS_ANDROID)
+ // Returns the task runner that must be used for media IO.
+ scoped_refptr<base::SingleThreadTaskRunner> GetMediaTaskRunner();
+
// Creates a MediaPipelineDevice (CMA backend) for media playback, called
// once per media player instance.
virtual scoped_ptr<media::MediaPipelineBackend> CreateMediaPipelineBackend(
@@ -161,9 +164,6 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
protected:
CastContentBrowserClient();
- // Returns the task runner that must be used for media IO.
- scoped_refptr<base::SingleThreadTaskRunner> GetMediaTaskRunner();
-
URLRequestContextFactory* url_request_context_factory() const {
return url_request_context_factory_.get();
}
« no previous file with comments | « chromecast/browser/DEPS ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698