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

Unified Diff: chromecast/public/media/cast_key_status.h

Issue 1407253007: [Chromecast] Allow CMA backend to notify of key expiry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK for |cdm_| instead of conditional Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698