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

Unified Diff: webkit/media/crypto/key_systems.h

Issue 10575026: Add ProxyDecryptor which wraps concrete Decryptor implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revise on comments. Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webkit/media/crypto/key_systems.h
diff --git a/webkit/media/key_systems.h b/webkit/media/crypto/key_systems.h
similarity index 80%
rename from webkit/media/key_systems.h
rename to webkit/media/crypto/key_systems.h
index dedd279e0184accdee5f5a08ff9c29e75be6c680..4271244724d7ce3e1c1cd7d46a59489cdc8da1db 100644
--- a/webkit/media/key_systems.h
+++ b/webkit/media/crypto/key_systems.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_MEDIA_KEY_SYSTEMS_H_
-#define WEBKIT_MEDIA_KEY_SYSTEMS_H_
+#ifndef WEBKIT_MEDIA_CRYPTO_KEY_SYSTEMS_H_
+#define WEBKIT_MEDIA_CRYPTO_KEY_SYSTEMS_H_
#include <string>
#include <vector>
@@ -14,6 +14,8 @@ class WebString;
namespace webkit_media {
+const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey";
scherkus (not reviewing) 2012/06/27 01:10:18 this can be declared here but initialized in the .
ddorwin 2012/06/27 04:07:15 This is only used to determine the CDM. We eventua
scherkus (not reviewing) 2012/06/27 04:22:23 Could you explain the UseAesDecryptor() approach a
ddorwin 2012/06/27 05:24:41 The string that is being exposed is only used in t
scherkus (not reviewing) 2012/06/27 05:34:11 I don't think it's really that big of an issue but
xhwang 2012/06/27 21:41:26 Done.
+
// Returns whether |key_sytem| is supported at all.
// Call IsSupportedKeySystemWithMediaMimeType() to determine whether a
// |key_system| supports a specific type of media.
@@ -27,4 +29,4 @@ bool IsSupportedKeySystemWithMediaMimeType(
} // namespace webkit_media
-#endif // WEBKIT_MEDIA_KEY_SYSTEMS_H_
+#endif // WEBKIT_MEDIA_CRYPTO_KEY_SYSTEMS_H_

Powered by Google App Engine
This is Rietveld 408576698