Chromium Code Reviews| Index: chromecast/media/cdm/browser_cdm_cast.h |
| diff --git a/chromecast/media/cdm/browser_cdm_cast.h b/chromecast/media/cdm/browser_cdm_cast.h |
| index 0ce138785b77ebb4c2edd7737e7a4f0d5b4dab24..85c75b10d190ab48fc72c4518b3d92b2b41b0c64 100644 |
| --- a/chromecast/media/cdm/browser_cdm_cast.h |
| +++ b/chromecast/media/cdm/browser_cdm_cast.h |
| @@ -14,6 +14,7 @@ |
| #include "base/macros.h" |
| #include "base/memory/ref_counted.h" |
| #include "media/base/browser_cdm.h" |
| +#include "media/cdm/player_tracker_impl.h" |
| namespace chromecast { |
| namespace media { |
| @@ -44,12 +45,10 @@ class BrowserCdmCast : public ::media::BrowserCdm { |
| protected: |
| // Notifies all listeners a new key was added on the next message loop cycle. |
|
lcwu1
2015/01/08 18:25:17
I think this comment is out of date.
gunsch
2015/01/08 18:34:46
Done.
|
| - void NotifyKeyAdded() const; |
| + void NotifyKeyAdded(); |
| private: |
| - uint32_t next_registration_id_; |
| - std::map<uint32_t, base::Closure> new_key_callbacks_; |
| - std::map<uint32_t, base::Closure> cdm_unset_callbacks_; |
| + ::media::PlayerTrackerImpl player_tracker_; |
| DISALLOW_COPY_AND_ASSIGN(BrowserCdmCast); |
| }; |