Index: content/public/common/content_client.h |
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h |
index 243afccf4b0b361d539dab0fbddc8c9c8a268c62..129b3832e095f6663ccf052245a38a6b1f7ca3c2 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; |
} |
@@ -163,6 +167,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(); |
Lei Zhang
2016/04/26 00:02:21
Can this go into ContentGpuClient instead?
xhwang
2016/04/26 03:25:45
Good question. Please see the CL description:
"To
|
#endif // OS_ANDROID |
private: |