Index: media/remoting/remoting_cdm_context.cc |
diff --git a/media/remoting/remoting_cdm_context.cc b/media/remoting/remoting_cdm_context.cc |
index dc6423c8768ee592389bc42be4794510d7c935f8..5842faa85625421d824d3b43a3f5ff1b34c0554f 100644 |
--- a/media/remoting/remoting_cdm_context.cc |
+++ b/media/remoting/remoting_cdm_context.cc |
@@ -5,9 +5,10 @@ |
#include "media/remoting/remoting_cdm_context.h" |
#include "media/remoting/remoting_cdm.h" |
-#include "media/remoting/remoting_source_impl.h" |
+#include "media/remoting/shared_session.h" |
namespace media { |
+namespace remoting { |
namespace { |
// Used as an identifier for RemotingCdmContext::From(). |
@@ -40,8 +41,9 @@ void* RemotingCdmContext::GetClassIdentifier() const { |
return kClassIdentifier; |
} |
-RemotingSourceImpl* RemotingCdmContext::GetRemotingSource() { |
- return remoting_cdm_->GetRemotingSource(); |
+SharedSession* RemotingCdmContext::GetSharedSession() const { |
+ return remoting_cdm_->session(); |
} |
+} // namespace remoting |
} // namespace media |