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

Unified Diff: media/base/media_keys.h

Issue 1808983002: media: Add MediaDrmBridgeCdmContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 9 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/media_keys.h
diff --git a/media/base/media_keys.h b/media/base/media_keys.h
index cb21b562b5dc17238cd462e6cc0cf96aefef9a8d..13c210c786a97913b580bcead9f5a9016c123ef1 100644
--- a/media/base/media_keys.h
+++ b/media/base/media_keys.h
@@ -144,11 +144,11 @@ class MEDIA_EXPORT MediaKeys
virtual void RemoveSession(const std::string& session_id,
scoped_ptr<SimpleCdmPromise> promise) = 0;
- // Returns the CdmContext associated with |this| if Decryptor or CDM ID is
- // supported. The returned CdmContext is owned by |this|. Caller needs to make
- // sure it is not used after |this| is destructed.
- // Returns null if no Decryptor nor CDM ID is supported. Instead the media
- // player may use the CDM via some platform specific method.
+ // Returns the CdmContext associated with |this|. The returned CdmContext is
+ // owned by |this| and the caller needs to make sure it is not used after
+ // |this| is destructed.
+ // Returns null if CdmContext is not supported. Instead the media player may
+ // use the CDM via some platform specific method.
// By default this method returns null.
// TODO(xhwang): Convert all SetCdm() implementations to use CdmContext so
// that this function should never return nullptr.
« media/base/cdm_context.h ('K') | « media/base/cdm_context.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698