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

Unified Diff: media/base/android/provision_fetcher.cc

Issue 1427183002: Move MediaDrmBridge provision communication to native side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: media/base/android/provision_fetcher.cc
diff --git a/media/base/android/provision_fetcher.cc b/media/base/android/provision_fetcher.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bd4124a3f85e28ebb86d120987b2eab4edc419f2
--- /dev/null
+++ b/media/base/android/provision_fetcher.cc
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "media/base/android/provision_fetcher.h"
+
+namespace media {
+
+namespace {
+ProvisionFetcherFactory* g_factory = nullptr;
xhwang 2015/11/02 20:37:05 If we use MediaClientAndroid, we don't need the fa
Tima Vaisburd 2015/11/05 02:24:07 They are completely removed. However, I added a ne
+}
+
+// static
+ProvisionFetcherFactory* ProvisionFetcher::GetFactory() {
+ return g_factory;
+}
+
+// static
+void ProvisionFetcher::SetFactory(ProvisionFetcherFactory* factory) {
+ g_factory = factory;
+}
+
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698