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

Unified Diff: content/public/browser/android/cdm_provision_fetcher.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: content/public/browser/android/cdm_provision_fetcher.h
diff --git a/content/public/browser/android/cdm_provision_fetcher.h b/content/public/browser/android/cdm_provision_fetcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a47eac698e29a7135a16c2b2a59d73786d0911a
--- /dev/null
+++ b/content/public/browser/android/cdm_provision_fetcher.h
@@ -0,0 +1,28 @@
+#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CDM_PROVISION_FETCHER_H
+#define CONTENT_PUBLIC_BROWSER_ANDROID_CDM_PROVISION_FETCHER_H
+
+#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
+
+namespace media {
+class ProvisionFetcher;
+}
+
+namespace net {
+class URLRequestContextGetter;
+}
+
+namespace content {
+
+// Public factory class for media::ProvisionFetcher objects.
+
+class CONTENT_EXPORT CDMProvisionFetcher {
xhwang 2015/11/06 23:08:19 See comments above. Not sure why we need this clas
Tima Vaisburd 2015/11/11 03:03:34 See my other comment about current DEPS rules.
+ public:
+ // Factory method.
+ static scoped_ptr<media::ProvisionFetcher> CreateWithURLContext(
+ net::URLRequestContextGetter* context);
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_CDM_PROVISION_FETCHER_H

Powered by Google App Engine
This is Rietveld 408576698