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

Unified Diff: media/remoting/remoting_cdm.h

Issue 2568463003: media: Rename MediaKeys to ContentDecryptionModule (Closed)
Patch Set: comments addressed Created 4 years 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/remote_renderer_impl.cc ('k') | media/remoting/rpc/proto_enum_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remoting_cdm.h
diff --git a/media/remoting/remoting_cdm.h b/media/remoting/remoting_cdm.h
index a3ca76bdf3b65aa9ebc0f439404a5f4861fe22f9..78f61d73bf006a665e805aa532c6909bc7f2a050 100644
--- a/media/remoting/remoting_cdm.h
+++ b/media/remoting/remoting_cdm.h
@@ -6,14 +6,14 @@
#define MEDIA_REMOTING_REMOTING_CDM_H_
#include "media/base/cdm_factory.h"
-#include "media/base/media_keys.h"
+#include "media/base/content_decryption_module.h"
#include "media/remoting/remoting_cdm_context.h"
#include "media/remoting/remoting_cdm_controller.h"
namespace media {
// TODO(xjz): Merge this with erickung's implementation.
-class RemotingCdm : public MediaKeys {
+class RemotingCdm : public ContentDecryptionModule {
public:
RemotingCdm(const std::string& key_system,
const GURL& security_origin,
@@ -25,7 +25,7 @@ class RemotingCdm : public MediaKeys {
const CdmCreatedCB& cdm_created_cb,
std::unique_ptr<RemotingCdmController> remoting_cdm_controller);
- // MediaKeys implementations.
+ // ContentDecryptionModule implementations.
void SetServerCertificate(const std::vector<uint8_t>& certificate,
std::unique_ptr<SimpleCdmPromise> promise) override;
void CreateSessionAndGenerateRequest(
« no previous file with comments | « media/remoting/remote_renderer_impl.cc ('k') | media/remoting/rpc/proto_enum_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698