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

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

Issue 17101027: Add a function to convert key system into UUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 7 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/renderer/media/crypto/key_systems.h
diff --git a/webkit/renderer/media/crypto/key_systems.h b/webkit/renderer/media/crypto/key_systems.h
index 1332bad1f0c727adeba62641bc01142f273053cc..a2e439fa887a7758d866eb3ef055ac18889d5d2c 100644
--- a/webkit/renderer/media/crypto/key_systems.h
+++ b/webkit/renderer/media/crypto/key_systems.h
@@ -40,6 +40,11 @@ bool CanUseAesDecryptor(const std::string& key_system);
std::string GetPepperType(const std::string& key_system);
#endif
+#if defined(OS_ANDROID)
+// Convert |key_system| to 16-byte Android UUID.
+std::vector<uint8> GetUUID(const std::string& key_system);
+#endif
+
} // namespace webkit_media
#endif // WEBKIT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_

Powered by Google App Engine
This is Rietveld 408576698