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

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

Issue 1427183002: Move MediaDrmBridge provision communication to native side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: For on-demand provisioning the fetcher is created in content/ and depends on the renderer. 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/media_client_android.h
diff --git a/media/base/android/media_client_android.h b/media/base/android/media_client_android.h
index 0753b3b5e13021f367e97c536cb59913476f4494..f86690cd3d41fb41f2d99f493b8a04495e52f128 100644
--- a/media/base/android/media_client_android.h
+++ b/media/base/android/media_client_android.h
@@ -11,12 +11,14 @@
#include "base/containers/hash_tables.h"
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
namespace media {
class MediaClientAndroid;
class MediaDrmBridgeDelegate;
+class ProvisionFetcher;
// Setter for MediaClientAndroid. This should be called early in embedder
// lifecycle, before any media playback could occur.
@@ -38,6 +40,10 @@ class MEDIA_EXPORT MediaClientAndroid {
MediaClientAndroid();
virtual ~MediaClientAndroid();
+ // Create ProvisionFetcher object that obtains provisioning data over HTTP.
+ // Gets the URL context corresponding to the default user profile.
+ virtual scoped_ptr<ProvisionFetcher> CreateDefaultFetcher() const;
xhwang 2015/11/06 23:08:19 See comment above. If we move the ResetCredentialM
Tima Vaisburd 2015/11/11 03:03:34 Removed this stuff from MediaClientAndroid and sub
+
// Adds extra mappings from key-system name to Android UUID into |map|.
virtual void AddKeySystemUUIDMappings(KeySystemUuidMap* map);

Powered by Google App Engine
This is Rietveld 408576698