Index: chromecast/public/media/cast_key_status.h |
diff --git a/chromecast/public/media/cast_key_status.h b/chromecast/public/media/cast_key_status.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60c2b99b8a55297baf709f8e530965675f3d7ce1 |
--- /dev/null |
+++ b/chromecast/public/media/cast_key_status.h |
@@ -0,0 +1,19 @@ |
+// 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 CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_ |
+#define CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_ |
+ |
+namespace chromecast { |
+namespace media { |
+ |
+// Status of encryption key. See EME spec for details: |
+// https://w3c.github.io/encrypted-media/ - not all key status values |
+// are supported currently. |
+enum CastKeyStatus { KEY_STATUS_USABLE = 0, KEY_STATUS_EXPIRED }; |
+ |
+} // namespace media |
+} // namespace chromecast |
+ |
+#endif // CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_ |