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

Unified Diff: media/remoting/remoting_cdm_context.cc

Issue 2643253003: Media Remoting Clean-up: Less-redundant naming, style consistency, etc. (Closed)
Patch Set: REBASE Created 3 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 | « media/remoting/remoting_cdm_context.h ('k') | media/remoting/remoting_cdm_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/remoting/remoting_cdm_context.h ('k') | media/remoting/remoting_cdm_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698