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

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

Issue 2469863010: Move all ProvisionFetcher classes out of android/ subdirectories. (Closed)
Patch Set: Another NON_EXPORTED_BASE. 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 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_
« no previous file with comments | « content/public/browser/provision_fetcher_factory.h ('k') | content/public/browser/provision_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698