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

Unified Diff: media/mojo/services/mojo_cdm_service.h

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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/mojo/services/mojo_audio_decoder_service.cc ('k') | media/mojo/services/mojo_cdm_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_cdm_service.h
diff --git a/media/mojo/services/mojo_cdm_service.h b/media/mojo/services/mojo_cdm_service.h
index ee2bd47dcfea185a01f5c0be4f1654302af793ce..2005a0ec263b539bd1780649965a216dd7c6d4ed 100644
--- a/media/mojo/services/mojo_cdm_service.h
+++ b/media/mojo/services/mojo_cdm_service.h
@@ -20,7 +20,6 @@
#include "media/mojo/services/mojo_cdm_promise.h"
#include "media/mojo/services/mojo_cdm_service_context.h"
#include "media/mojo/services/mojo_decryptor_service.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
namespace media {
@@ -42,10 +41,8 @@ class MEDIA_MOJO_EXPORT MojoCdmService
static scoped_refptr<MediaKeys> LegacyGetCdm(int cdm_id);
// Constructs a MojoCdmService and strongly binds it to the |request|.
- MojoCdmService(
- base::WeakPtr<MojoCdmServiceContext> context,
- CdmFactory* cdm_factory,
- mojo::InterfaceRequest<mojom::ContentDecryptionModule> request);
+ MojoCdmService(base::WeakPtr<MojoCdmServiceContext> context,
+ CdmFactory* cdm_factory);
~MojoCdmService() final;
@@ -101,7 +98,6 @@ class MEDIA_MOJO_EXPORT MojoCdmService
// living in the same process.
static int next_cdm_id_;
- mojo::StrongBinding<mojom::ContentDecryptionModule> binding_;
base::WeakPtr<MojoCdmServiceContext> context_;
CdmFactory* cdm_factory_;
« no previous file with comments | « media/mojo/services/mojo_audio_decoder_service.cc ('k') | media/mojo/services/mojo_cdm_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698