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

Unified Diff: media/base/decryptor.h

Issue 1423163004: media: Replace DecryptorReadyCB with CdmReadyCB. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 5 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 | « media/base/cdm_context.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 47b4645efd9ba328655c3af7c321243ecbf94c15..f0d8be8d687909ba553ef026d45e2a56d9106b7d 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -163,24 +163,6 @@ class MEDIA_EXPORT Decryptor {
DISALLOW_COPY_AND_ASSIGN(Decryptor);
};
-// Callback to notify that the decryptor has been completely attached into the
-// pipeline. Parameter indicates whether the operation succeeded.
-typedef base::Callback<void(bool)> DecryptorAttachedCB;
-
-// Callback to notify that a decryptor is ready. DecryptorAttachedCB is called
-// when the decryptor has been completely inserted into the pipeline.
-typedef base::Callback<void(Decryptor*, const DecryptorAttachedCB&)>
- DecryptorReadyCB;
-
-// Callback to set/cancel a DecryptorReadyCB.
-// Calling this callback with a non-null callback registers decryptor ready
-// notification. When the decryptor is ready, notification will be sent
-// through the provided callback.
-// Calling this callback with a null callback cancels previously registered
-// decryptor ready notification. Any previously provided callback will be
-// fired immediately with NULL.
-typedef base::Callback<void(const DecryptorReadyCB&)> SetDecryptorReadyCB;
-
} // namespace media
#endif // MEDIA_BASE_DECRYPTOR_H_
« no previous file with comments | « media/base/cdm_context.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698