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

Unified Diff: media/base/key_systems.h

Issue 875073004: Don't update Media.EME.KeySystemSupport UMA for unprefixed EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: media/base/key_systems.h
diff --git a/media/base/key_systems.h b/media/base/key_systems.h
index 4eea0421a58d3915f46054639a35a4b70f06695e..6069a763aa90cb886d3c6e321a15ffdc77d92028 100644
--- a/media/base/key_systems.h
+++ b/media/base/key_systems.h
@@ -52,11 +52,13 @@ MEDIA_EXPORT bool IsSupportedKeySystemWithInitDataType(
// systems.
MEDIA_EXPORT bool IsConcreteSupportedKeySystem(const std::string& key_system);
-// Returns whether |key_sytem| supports the specified media type and codec(s).
+// Returns whether |key_system| supports the specified media type and codec(s).
+// |reportToUma| should only be true for prefixed calls.
MEDIA_EXPORT bool IsSupportedKeySystemWithMediaMimeType(
const std::string& mime_type,
const std::vector<std::string>& codecs,
- const std::string& key_system);
+ const std::string& key_system,
+ bool reportToUma);
// Returns a name for |key_system| suitable to UMA logging.
MEDIA_EXPORT std::string GetKeySystemNameForUMA(const std::string& key_system);

Powered by Google App Engine
This is Rietveld 408576698