OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_ |
| 6 #define CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "components/cdm/common/widevine_drm_delegate_android.h" |
| 12 #include "media/base/android/media_drm_bridge_client.h" |
| 13 |
| 14 class ChromeMediaDrmBridgeClient : public media::MediaDrmBridgeClient { |
| 15 public: |
| 16 ChromeMediaDrmBridgeClient(); |
| 17 ~ChromeMediaDrmBridgeClient() override; |
| 18 |
| 19 private: |
| 20 // media::MediaDrmBridgeClient implementation: |
| 21 media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate( |
| 22 const std::vector<uint8_t>& scheme_uuid) override; |
| 23 |
| 24 cdm::WidevineDrmDelegateAndroid widevine_delegate_; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(ChromeMediaDrmBridgeClient); |
| 27 }; |
| 28 |
| 29 #endif // CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_ |
OLD | NEW |