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

Unified Diff: content/browser/media/android/media_drm_credential_manager.h

Issue 930413003: MediaDrm: Only apply Widevine security levels to the Widevine key system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add creation and SetSecurityLevel tests. Created 5 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: content/browser/media/android/media_drm_credential_manager.h
diff --git a/content/browser/media/android/media_drm_credential_manager.h b/content/browser/media/android/media_drm_credential_manager.h
index f2cb0fa1fe7c42cd7064b7abb5268dafeab6bf38..cf16cea9528f3edcfe53cdf747bea8668c86d6a0 100644
--- a/content/browser/media/android/media_drm_credential_manager.h
+++ b/content/browser/media/android/media_drm_credential_manager.h
@@ -22,6 +22,10 @@ class MediaDrmCredentialManager {
typedef base::Callback<void(bool)> ResetCredentialsCB;
// Called to reset the DRM credentials. (for Java)
+ // Only clears credentials for Widevine.
+ // TODO(ddorwin): This should accept a key system parameter so that this is
+ // clear to the caller, which can call it repeatedly as necessary.
+ // http://crbug.com/459400
static void ResetCredentials(JNIEnv* env, jclass clazz, jobject callback);
// Called to reset the DRM credentials. The result is returned in the

Powered by Google App Engine
This is Rietveld 408576698