1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
media / base / media_drm_key_type.h [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BASE_MEDIA_DRM_KEY_TYPE_H_
#define MEDIA_BASE_MEDIA_DRM_KEY_TYPE_H_
#include <stdint.h>
namespace media {
// These must be in sync with Android MediaDrm KEY_TYPE_XXX constants, except
// UNKNOWN and MAX:
// https://developer.android.com/reference/android/media/MediaDrm.html#KEY_TYPE_OFFLINE
enum class MediaDrmKeyType : uint32_t {
UNKNOWN = 0,
MIN = UNKNOWN,
STREAMING = 1,
OFFLINE = 2,
RELEASE = 3,
MAX = RELEASE,
};
} // namespace media
#endif // MEDIA_BASE_MEDIA_DRM_KEY_TYPE_H_