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

Unified Diff: Source/modules/encryptedmedia/MediaKeys.h

Issue 183943003: Verify MediaKeys parameter values consistently (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Helper methods Created 6 years, 10 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: Source/modules/encryptedmedia/MediaKeys.h
diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h
index 4915637b362687d2afba6c34a4955d7eb675720e..c8e4171c4d5854003eb243e4886a50dda870589d 100644
--- a/Source/modules/encryptedmedia/MediaKeys.h
+++ b/Source/modules/encryptedmedia/MediaKeys.h
@@ -74,6 +74,9 @@ public:
virtual void contextDestroyed() OVERRIDE;
protected:
+ static bool isSupportedKeySystem(const String& keySystem);
+ static bool isSupportedContentType(const String& keySystem, const String& contentType);
ddorwin 2014/02/27 23:28:27 This one can actually be a member and doesn't need
+
MediaKeys(ExecutionContext*, const String& keySystem, PassOwnPtr<ContentDecryptionModule>);
void initializeNewSessionTimerFired(Timer<MediaKeys>*);
« no previous file with comments | « no previous file | Source/modules/encryptedmedia/MediaKeys.cpp » ('j') | Source/modules/encryptedmedia/MediaKeys.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698