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 |