| Index: chrome/common/media/chrome_media_drm_bridge_client.h
|
| diff --git a/chrome/common/media/chrome_media_drm_bridge_client.h b/chrome/common/media/chrome_media_drm_bridge_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e7e49ec5d2b0d0e25b50596aeebd922fe004761e
|
| --- /dev/null
|
| +++ b/chrome/common/media/chrome_media_drm_bridge_client.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
|
| +#define CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +#include "base/macros.h"
|
| +#include "components/cdm/common/widevine_drm_delegate_android.h"
|
| +#include "media/base/android/media_drm_bridge_client.h"
|
| +
|
| +class ChromeMediaDrmBridgeClient : public media::MediaDrmBridgeClient {
|
| + public:
|
| + ChromeMediaDrmBridgeClient();
|
| + ~ChromeMediaDrmBridgeClient() override;
|
| +
|
| + private:
|
| + // media::MediaDrmBridgeClient implementation:
|
| + media::MediaDrmBridgeDelegate* GetMediaDrmBridgeDelegate(
|
| + const std::vector<uint8_t>& scheme_uuid) override;
|
| +
|
| + cdm::WidevineDrmDelegateAndroid widevine_delegate_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ChromeMediaDrmBridgeClient);
|
| +};
|
| +
|
| +#endif // CHROME_COMMON_MEDIA_CHROME_MEDIA_DRM_BRIDGE_CLIENT_H_
|
|
|