1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_
8 #include "base/macros.h"
9 #include "components/cdm/browser/widevine_drm_delegate_android.h"
10 #include "media/base/android/media_client_android.h"
12 class ChromeMediaClientAndroid
: public media::MediaClientAndroid
{
14 ChromeMediaClientAndroid();
15 ~ChromeMediaClientAndroid() override
;
18 // media::MediaClientAndroid implementation:
19 media::MediaDrmBridgeDelegate
* GetMediaDrmBridgeDelegate(
20 const std::vector
<uint8_t>& scheme_uuid
) override
;
22 cdm::WidevineDrmDelegateAndroid widevine_delegate_
;
24 DISALLOW_COPY_AND_ASSIGN(ChromeMediaClientAndroid
);
27 #endif // CHROME_BROWSER_ANDROID_CHROME_MEDIA_CLIENT_ANDROID_H_