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

Unified Diff: media/cdm/key_system_names.h

Issue 1132223002: Sanitize data before providing it to the CDM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows change Created 5 years, 7 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
« no previous file with comments | « media/cdm/json_web_key_unittest.cc ('k') | media/cdm/key_system_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/key_system_names.h
diff --git a/media/cdm/key_system_names.h b/media/cdm/key_system_names.h
index 94c84da1406a63520053cb816933eeff2cd1c655..6c388b98c841313ff789d0cb9c3d315c4bfd3cb9 100644
--- a/media/cdm/key_system_names.h
+++ b/media/cdm/key_system_names.h
@@ -20,9 +20,7 @@ MEDIA_EXPORT extern const char kClearKey[];
MEDIA_EXPORT extern const char kExternalClearKey[];
// Returns true if |key_system| is Clear Key, false otherwise.
-MEDIA_EXPORT inline bool IsClearKey(const std::string& key_system) {
- return key_system == kClearKey;
-}
+MEDIA_EXPORT bool IsClearKey(const std::string& key_system);
// Returns true if |key_system| is (reverse) sub-domain of |parent_key_system|.
MEDIA_EXPORT bool IsParentKeySystemOf(const std::string& parent_key_system,
« no previous file with comments | « media/cdm/json_web_key_unittest.cc ('k') | media/cdm/key_system_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698