| 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 72%
|
| rename from content/browser/media/android/provision_fetcher_impl.h
|
| rename to content/public/browser/provision_fetcher_impl.h
|
| index 6fad5d4c279cdc62e11798b5240e83f2cc926f2e..356008351cd9a57e6dee37f4f64f1e8d7274ea90 100644
|
| --- a/content/browser/media/android/provision_fetcher_impl.h
|
| +++ b/content/public/browser/provision_fetcher_impl.h
|
| @@ -2,26 +2,29 @@
|
| // 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/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
|
| + : 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 +51,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_
|
|
|