Index: content/public/browser/provision_fetcher_impl.h |
diff --git a/content/browser/media/android/provision_fetcher_impl.h b/content/public/browser/provision_fetcher_impl.h |
similarity index 69% |
rename from content/browser/media/android/provision_fetcher_impl.h |
rename to content/public/browser/provision_fetcher_impl.h |
index 6fad5d4c279cdc62e11798b5240e83f2cc926f2e..5151b397f503b4613f8e08c877142682076bb3f7 100644 |
--- a/content/browser/media/android/provision_fetcher_impl.h |
+++ b/content/public/browser/provision_fetcher_impl.h |
@@ -2,26 +2,30 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_MEDIA_ANDROID_PROVISION_FETCHER_IMPL_H_ |
-#define CONTENT_BROWSER_MEDIA_ANDROID_PROVISION_FETCHER_IMPL_H_ |
+#ifndef CONTENT_PUBLIC_BROWSER_PROVISION_FETCHER_IMPL_H_ |
+#define CONTENT_PUBLIC_BROWSER_PROVISION_FETCHER_IMPL_H_ |
#include <memory> |
+#include "base/compiler_specific.h" |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
-#include "content/public/browser/android/provision_fetcher_factory.h" |
-#include "media/base/android/provision_fetcher.h" |
+#include "content/public/browser/provision_fetcher_factory.h" |
+#include "media/base/provision_fetcher.h" |
#include "media/mojo/interfaces/provision_fetcher.mojom.h" |
-namespace content { |
+namespace net { |
+class URLRequestContextGetter; |
+} |
-class RenderFrameHost; |
+namespace content { |
// A media::mojom::ProvisionFetcher implementation based on |
// media::ProvisionFetcher. |
-class ProvisionFetcherImpl : public media::mojom::ProvisionFetcher { |
+class CONTENT_EXPORT ProvisionFetcherImpl |
+ : NON_EXPORTED_BASE(public media::mojom::ProvisionFetcher) { |
public: |
- static void Create(RenderFrameHost* render_frame_host, |
+ static void Create(net::URLRequestContextGetter* context_getter, |
media::mojom::ProvisionFetcherRequest request); |
explicit ProvisionFetcherImpl( |
@@ -48,4 +52,4 @@ class ProvisionFetcherImpl : public media::mojom::ProvisionFetcher { |
} // namespace content |
-#endif // CONTENT_BROWSER_MEDIA_ANDROID_PROVISION_FETCHER_IMPL_H_ |
+#endif // CONTENT_PUBLIC_BROWSER_PROVISION_FETCHER_IMPL_H_ |