| Index: public/platform/WebEncryptedMediaTypes.h
|
| diff --git a/public/platform/WebEncryptedMediaTypes.h b/public/platform/WebEncryptedMediaTypes.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..64818c945215dafe62b4e80c82d598512bdb54a1
|
| --- /dev/null
|
| +++ b/public/platform/WebEncryptedMediaTypes.h
|
| @@ -0,0 +1,28 @@
|
| +// 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 WebEncryptedMediaTypes_h
|
| +#define WebEncryptedMediaTypes_h
|
| +
|
| +namespace blink {
|
| +
|
| +// From https://w3c.github.io/encrypted-media/initdata-format-registry.html#registry
|
| +enum class WebEncryptedMediaInitDataType {
|
| + Unknown,
|
| + Cenc,
|
| + Keyids,
|
| + Webm,
|
| +};
|
| +
|
| +// From https://w3c.github.io/encrypted-media/#idl-def-MediaKeySessionType
|
| +enum class WebEncryptedMediaSessionType {
|
| + Unknown,
|
| + Temporary,
|
| + PersistentLicense,
|
| + PersistentReleaseMessage,
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebEncryptedMediaTypes_h
|
|
|