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

Unified Diff: content/public/common/content_client.h

Issue 1907263003: media: Set MediaClientAndroid in the GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/gpu/gpu_process_control_impl.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 7f4be8746c197fc8de550fb7e5d6b0adadfd7de4..dace907b95e7ae205d4c2cbae66da1721f5f672a 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -34,6 +34,10 @@ namespace gpu {
struct GPUInfo;
}
+namespace media {
+class MediaClientAndroid;
+}
+
namespace sandbox {
class TargetPolicy;
}
@@ -169,6 +173,9 @@ class CONTENT_EXPORT ContentClient {
// compositor. Note setting this to true will permit synchronous IPCs from
// the browser UI thread.
virtual bool UsingSynchronousCompositing();
+
+ // Returns the MediaClientAndroid to be used by media code on Android.
+ virtual media::MediaClientAndroid* GetMediaClientAndroid();
#endif // OS_ANDROID
private:
« no previous file with comments | « content/gpu/gpu_process_control_impl.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698