Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index 591223bd36eb72756918eedba889eb760e070f7c..583e3d20462aef52c62f62e3b1a4854e280a822f 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -76,6 +76,10 @@ |
#include "chrome/common/widevine_cdm_constants.h" |
#endif |
+#if defined(OS_ANDROID) |
+#include "chrome/common/chrome_media_client_android.h" |
+#endif |
+ |
namespace { |
#if defined(ENABLE_PLUGINS) |
@@ -641,3 +645,9 @@ bool ChromeContentClient::IsSupplementarySiteIsolationModeEnabled() { |
base::StringPiece ChromeContentClient::GetOriginTrialPublicKey() { |
return origin_trial_key_manager_.GetPublicKey(); |
} |
+ |
+#if defined(OS_ANDROID) |
+media::MediaClientAndroid* ChromeContentClient::GetMediaClientAndroid() { |
+ return new ChromeMediaClientAndroid(); |
+} |
+#endif // OS_ANDROID |