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

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

Issue 984693002: Chromecast: implement other MediaKeys interfaces in BrowserCdmCast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change to NOTREACHED Created 5 years, 10 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 | « chromecast/media/cdm/browser_cdm_cast.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cdm/browser_cdm_cast.cc
diff --git a/chromecast/media/cdm/browser_cdm_cast.cc b/chromecast/media/cdm/browser_cdm_cast.cc
index ded9448892a3f797c188aea8bbac775be2a9d884..8db9563d31692f5e819a2291f29916da45a0e8e5 100644
--- a/chromecast/media/cdm/browser_cdm_cast.cc
+++ b/chromecast/media/cdm/browser_cdm_cast.cc
@@ -57,6 +57,22 @@ void BrowserCdmCast::UnregisterPlayer(int registration_id) {
cdm_unset_callbacks_.erase(registration_id);
}
+void BrowserCdmCast::LoadSession(
+ ::media::MediaKeys::SessionType session_type,
+ const std::string& session_id,
+ scoped_ptr<::media::NewSessionCdmPromise> promise) {
+ NOTREACHED() << "LoadSession not supported";
+ session_error_cb_.Run(session_id,
+ ::media::MediaKeys::Exception::NOT_SUPPORTED_ERROR,
+ 0,
+ std::string());
+}
+
+::media::CdmContext* BrowserCdmCast::GetCdmContext() {
+ NOTREACHED();
+ return nullptr;
+}
+
void BrowserCdmCast::OnSessionMessage(const std::string& session_id,
const std::vector<uint8>& message,
const GURL& destination_url) {
« no previous file with comments | « chromecast/media/cdm/browser_cdm_cast.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698