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

Unified Diff: content/public/browser/provision_fetcher_impl.h

Issue 2469863010: Move all ProvisionFetcher classes out of android/ subdirectories. (Closed)
Patch Set: Fix chrome/ includes missed in PS1. Created 4 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/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_

Powered by Google App Engine
This is Rietveld 408576698