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

Unified Diff: media/base/android/android_cdm_factory.h

Issue 1427183002: Move MediaDrmBridge provision communication to native side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AndroidCdmFactory use a fetcher factory instead of a fetcher; addressed more comments Created 5 years, 1 month 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
Index: media/base/android/android_cdm_factory.h
diff --git a/media/base/android/android_cdm_factory.h b/media/base/android/android_cdm_factory.h
index c469af8c2022c78b8d54221f18610a969dc05c61..ea098017c852a44b786aa7c82f6c48edb68c46fe 100644
--- a/media/base/android/android_cdm_factory.h
+++ b/media/base/android/android_cdm_factory.h
@@ -6,6 +6,7 @@
#define MEDIA_BASE_ANDROID_ANDROID_CDM_FACTORY_H_
#include "base/macros.h"
+#include "media/base/android/provision_fetcher.h"
#include "media/base/cdm_factory.h"
#include "media/base/media_export.h"
@@ -15,7 +16,7 @@ struct CdmConfig;
class MEDIA_EXPORT AndroidCdmFactory : public CdmFactory {
public:
- AndroidCdmFactory();
+ AndroidCdmFactory(scoped_ptr<ProvisionFetcherFactory> fetcher_factory);
~AndroidCdmFactory() final;
// CdmFactory implementation.
@@ -30,6 +31,8 @@ class MEDIA_EXPORT AndroidCdmFactory : public CdmFactory {
const CdmCreatedCB& cdm_created_cb) final;
private:
+ scoped_ptr<ProvisionFetcherFactory> fetcher_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AndroidCdmFactory);
};

Powered by Google App Engine
This is Rietveld 408576698