Chromium Code Reviews| Index: media/base/decryptor.h |
| diff --git a/media/base/decryptor.h b/media/base/decryptor.h |
| index 2c2cf793639f05559b83e73e2cc8dece6780a770..7061363924dc4d3043340240498d5c14ece51dd3 100644 |
| --- a/media/base/decryptor.h |
| +++ b/media/base/decryptor.h |
| @@ -161,8 +161,14 @@ class MEDIA_EXPORT Decryptor { |
| DISALLOW_COPY_AND_ASSIGN(Decryptor); |
| }; |
| -// Callback to notify that a decryptor is ready. |
| -typedef base::Callback<void(Decryptor*)> DecryptorReadyCB; |
| +// Callback to notify that the decryptor has been completely inserted into the |
|
ddorwin
2014/08/04 18:59:08
re: "inserted": "attached" is used elsewhere. We s
jrummell
2014/08/07 01:54:25
Done.
|
| +// pipeline. Parameter indicates if the operation succeeded of failed. |
|
ddorwin
2014/08/04 18:59:08
nit: more concise: ... whether the operation succe
jrummell
2014/08/07 01:54:25
Done.
|
| +typedef base::Callback<void(bool)> DecryptorInsertedCB; |
| + |
| +// Callback to notify that a decryptor is ready. DecryptorInsertedCB is called |
| +// when the decryptor has been completely inserted into the pipeline. |
| +typedef base::Callback<void(Decryptor*, const DecryptorInsertedCB&)> |
| + DecryptorReadyCB; |
| // Callback to set/cancel a DecryptorReadyCB. |
| // Calling this callback with a non-null callback registers decryptor ready |