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

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

Issue 17459003: Allow suppressed EME canPlayType() responses to be overridden with a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile. 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_info.h
diff --git a/webkit/renderer/media/crypto/key_systems_info.h b/webkit/renderer/media/crypto/key_systems_info.h
index e80e0f6713c93f796dd577e2ab9677c6ecfa8382..0c499db689c518da01c85b4d61c7cc32cc8d619c 100644
--- a/webkit/renderer/media/crypto/key_systems_info.h
+++ b/webkit/renderer/media/crypto/key_systems_info.h
@@ -55,6 +55,9 @@ extern const int kNumKeySystemToUUIDMapping;
// Returns whether |key_system| is compatible with the user's system.
bool IsSystemCompatible(const std::string& key_system);
+// Returns true if canPlayType should return an empty string for |key_system|.
+bool IsCanPlayTypeSuppressed(const std::string& key_system);
+
// Returns the name that UMA will use for the given |key_system|.
// This function can be called frequently. Hence this function should be
// implemented not to impact performance.

Powered by Google App Engine
This is Rietveld 408576698