Replace typedef with using statement in cdm/core/ files.
[ Merge of http://go/wvgerrit/80805 ] This change was used only where `typedef` was used for type aliasing, and not for defining a new type (such as enums, structs, or function pointer types). Clang-format was used on the changed files. Test: WV unit tests Bug: 134437705 Change-Id: I730b9709a5ac773b3036daa79024caab665b3daa
This commit is contained in:
@@ -26,7 +26,7 @@ namespace wvcdm {
|
||||
class CryptoKey;
|
||||
class UsageTableHeader;
|
||||
|
||||
typedef std::map<std::string, CryptoKey*> CryptoKeyMap;
|
||||
using CryptoKeyMap = std::map<std::string, CryptoKey*>;
|
||||
|
||||
// Crypto session utility functions used by KeySession implementations.
|
||||
void GenerateMacContext(const std::string& input_context,
|
||||
@@ -43,7 +43,7 @@ class CryptoSessionFactory;
|
||||
|
||||
class CryptoSession {
|
||||
public:
|
||||
typedef OEMCrypto_HDCP_Capability HdcpCapability;
|
||||
using HdcpCapability = OEMCrypto_HDCP_Capability;
|
||||
typedef enum {
|
||||
kUsageDurationsInvalid = 0,
|
||||
kUsageDurationPlaybackNotBegun = 1,
|
||||
|
||||
Reference in New Issue
Block a user