| Index: components/cdm/browser/widevine_drm_delegate_android.h
|
| diff --git a/components/cdm/browser/widevine_drm_delegate_android.h b/components/cdm/browser/widevine_drm_delegate_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09a54aee67425f336c584b489d9bc231b43ab010
|
| --- /dev/null
|
| +++ b/components/cdm/browser/widevine_drm_delegate_android.h
|
| @@ -0,0 +1,32 @@
|
| +// 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 COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
|
| +#define COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "media/base/android/media_drm_bridge_delegate.h"
|
| +
|
| +namespace cdm {
|
| +
|
| +class WidevineDrmDelegateAndroid : public media::MediaDrmBridgeDelegate {
|
| + public:
|
| + WidevineDrmDelegateAndroid();
|
| + ~WidevineDrmDelegateAndroid() override;
|
| +
|
| + // media::MediaDrmBridgeDelegate implementation:
|
| + const std::vector<uint8_t> GetUUID() const override;
|
| + bool OnCreateSession(
|
| + const media::EmeInitDataType init_data_type,
|
| + const std::vector<uint8_t>& init_data,
|
| + std::vector<uint8_t>* init_data_out,
|
| + std::vector<std::string>* optional_parameters_out) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(WidevineDrmDelegateAndroid);
|
| +};
|
| +
|
| +} // namespace cdm
|
| +
|
| +#endif // COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
|
|
|