Managed bookmarks for supervised users.
[chromium-blink-merge.git] / media / base / cdm_key_information.h
blob8abec1d2c7bcfe428f1c5bcb65b2b597177f304d
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.
5 #ifndef MEDIA_BASE_CDM_KEY_INFORMATION_H_
6 #define MEDIA_BASE_CDM_KEY_INFORMATION_H_
8 #include <string>
9 #include <vector>
11 #include "base/basictypes.h"
12 #include "media/base/media_export.h"
14 namespace media {
16 struct MEDIA_EXPORT CdmKeyInformation {
17 enum KeyStatus {
18 USABLE = 0,
19 INTERNAL_ERROR = 1,
20 EXPIRED = 2,
21 OUTPUT_NOT_ALLOWED = 3,
22 KEY_STATUS_MAX = OUTPUT_NOT_ALLOWED
25 CdmKeyInformation();
26 ~CdmKeyInformation();
28 std::vector<uint8> key_id;
29 KeyStatus status;
30 uint32 system_code;
33 } // namespace media
35 #endif // MEDIA_BASE_CDM_KEY_INFORMATION_H_