[ Merge of http://go/wvgerrit/108084 ] The Widevine License Agreement has been renamed to use inclusive language. This covers files in the android directory. Bug: 168562298 Test: verified compilation (comment only change) Change-Id: I0f9e6445e0168ebe85425baeb81371e182e5a39c
34 lines
882 B
C++
34 lines
882 B
C++
//
|
|
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
//
|
|
|
|
#ifndef WV_CRYPTO_FACTORY_H_
|
|
#define WV_CRYPTO_FACTORY_H_
|
|
|
|
#include "media/hardware/CryptoAPI.h"
|
|
#include "media/stagefright/foundation/ABase.h"
|
|
#include "utils/Errors.h"
|
|
|
|
namespace wvdrm {
|
|
|
|
class WVCryptoFactory : public android::CryptoFactory {
|
|
public:
|
|
WVCryptoFactory() {}
|
|
virtual ~WVCryptoFactory() {}
|
|
|
|
virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) const;
|
|
|
|
virtual android::status_t createPlugin(const uint8_t uuid[16],
|
|
const void* data, size_t size,
|
|
android::CryptoPlugin** plugin);
|
|
|
|
private:
|
|
DISALLOW_EVIL_CONSTRUCTORS(WVCryptoFactory);
|
|
};
|
|
|
|
} // namespace wvdrm
|
|
|
|
#endif // WV_CRYPTO_FACTORY_H_
|