Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index 9854e9261278c37f957c650756f96adb80958ee6..c02f6fa64d802a0b0285dd4fdaa6dfa109bb8e45 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -77,6 +77,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) |
@@ -647,3 +651,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 |