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

Side by Side Diff: media/base/cdm_key_information.h

Issue 833963003: Pass key_information on SessionKeysChange message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes Created 5 years, 11 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
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/cdm_key_information.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MEDIA_BASE_CDM_KEY_INFORMATION_H_
6 #define MEDIA_BASE_CDM_KEY_INFORMATION_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "base/basictypes.h"
12 #include "media/base/media_export.h"
13
14 namespace media {
15
16 struct MEDIA_EXPORT CdmKeyInformation {
17 enum KeyStatus {
18 USABLE = 0,
19 INTERNAL_ERROR = 1,
20 EXPIRED = 2,
21 OUTPUT_NOT_ALLOWED = 3
22 };
23
24 CdmKeyInformation();
25 ~CdmKeyInformation();
26
27 std::vector<uint8> key_id;
28 KeyStatus status;
29 uint32 system_code;
30 };
31
32 } // namespace media
33
34 #endif // MEDIA_BASE_CDM_KEY_INFORMATION_H_
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/cdm_key_information.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698