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

Unified Diff: chromecast/media/cdm/browser_cdm_cast.h

Issue 835963005: Chromecast: use PlayerTrackerImpl in BrowserCdmCast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | chromecast/media/cdm/browser_cdm_cast.cc » ('j') | chromecast/media/cdm/browser_cdm_cast.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chromecast/media/cdm/browser_cdm_cast.cc » ('j') | chromecast/media/cdm/browser_cdm_cast.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698