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

Unified Diff: media/base/cdm_context.h

Issue 2457563002: Media Remoting: Add remoting control logic for encrypted contents. (Closed)
Patch Set: Addressed comments from PS#12. Fixed ASAN. Created 4 years, 1 month 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 | « content/renderer/render_frame_impl.cc ('k') | media/base/cdm_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_context.h
diff --git a/media/base/cdm_context.h b/media/base/cdm_context.h
index d046927c72079fe8956dd104a9a3a5c9cb254422..65c0bb7a6963100b7cf88a2c8c838b7172225d07 100644
--- a/media/base/cdm_context.h
+++ b/media/base/cdm_context.h
@@ -34,6 +34,10 @@ class MEDIA_EXPORT CdmContext {
// is not supported (e.g. this CDM is a local CDM).
virtual int GetCdmId() const = 0;
+ // Returns a unique class identifier. Some subclasses override and use this
+ // method to provide safe down-casting to their type.
+ virtual void* GetClassIdentifier() const;
+
protected:
CdmContext();
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/base/cdm_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698