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

Unified Diff: media/base/cdm_context.h

Issue 1666653002: media: Remove SetCdmReadyCB and CdmReadyCB (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/cdm_context.h
diff --git a/media/base/cdm_context.h b/media/base/cdm_context.h
index c64f276efd00720a8f77da537f64aa5036b67dd7..7d897608cc39946e513334ca6a0a55cc1ee19e5a 100644
--- a/media/base/cdm_context.h
+++ b/media/base/cdm_context.h
@@ -68,19 +68,6 @@ typedef base::Callback<void(bool)> CdmAttachedCB;
// A dummy implementation of CdmAttachedCB.
MEDIA_EXPORT void IgnoreCdmAttached(bool success);
-// Callback to notify that a CDM is ready. CdmAttachedCB is called when the CDM
-// has been completely attached to the media pipeline.
-typedef base::Callback<void(CdmContext*, const CdmAttachedCB&)> CdmReadyCB;
-
-// Callback to set/cancel a CdmReadyCB.
-// Calling this callback with a non-null callback registers CDM ready
-// notification. When the CDM is ready, notification will be sent
-// through the provided callback.
-// Calling this callback with a null callback cancels previously registered CDM
-// ready notification. Any previously provided callback will be fired
-// immediately with NULL.
-typedef base::Callback<void(const CdmReadyCB&)> SetCdmReadyCB;
-
} // namespace media
#endif // MEDIA_BASE_CDM_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698