Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Side by Side Diff: public/platform/WebEncryptedMediaTypes.h

Issue 950813005: Change initDataType and sessionType to be enums (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebEncryptedMediaTypes_h
6 #define WebEncryptedMediaTypes_h
7
8 namespace blink {
9
10 // From https://w3c.github.io/encrypted-media/initdata-format-registry.html#regi stry
11 enum class WebEncryptedMediaInitDataType {
12 Unknown,
13 Cenc,
sandersd (OOO until July 31) 2015/02/25 00:35:54 Are these capitalizations standard for WebKit?
jrummell 2015/02/25 20:52:42 Appear to be. In the past we used names like WebCo
14 Keyids,
15 Webm,
16 };
17
18 // From https://w3c.github.io/encrypted-media/#idl-def-MediaKeySessionType
19 enum class WebEncryptedMediaSessionType {
20 Unknown,
21 Temporary,
22 PersistentLicense,
23 PersistentReleaseMessage,
24 };
25
26 } // namespace blink
27
28 #endif // WebEncryptedMediaTypes_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698