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

Unified Diff: content/browser/media/android/url_provision_fetcher.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/browser/media/android/url_provision_fetcher.h
diff --git a/content/browser/media/android/url_provision_fetcher.h b/content/browser/media/android/url_provision_fetcher.h
deleted file mode 100644
index b551c3b03453d2214f3e7c83ef7152c72a385eed..0000000000000000000000000000000000000000
--- a/content/browser/media/android/url_provision_fetcher.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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.
-
-#ifndef CONTENT_BROWSER_MEDIA_ANDROID_URL_PROVISION_FETCHER_H_
-#define CONTENT_BROWSER_MEDIA_ANDROID_URL_PROVISION_FETCHER_H_
-
-#include "base/macros.h"
-#include "media/base/android/provision_fetcher.h"
-#include "net/url_request/url_fetcher.h"
-#include "net/url_request/url_fetcher_delegate.h"
-
-namespace content {
-
-// The ProvisionFetcher that retrieves the data by HTTP POST request.
-
-class URLProvisionFetcher : public media::ProvisionFetcher,
- public net::URLFetcherDelegate {
- public:
- explicit URLProvisionFetcher(net::URLRequestContextGetter* context_getter);
- ~URLProvisionFetcher() override;
-
- // media::ProvisionFetcher implementation.
- void Retrieve(const std::string& default_url,
- const std::string& request_data,
- const ProvisionFetcher::ResponseCB& response_cb) override;
-
- private:
- // net::URLFetcherDelegate implementation.
- void OnURLFetchComplete(const net::URLFetcher* source) override;
-
- net::URLRequestContextGetter* context_getter_;
- std::unique_ptr<net::URLFetcher> request_;
- media::ProvisionFetcher::ResponseCB response_cb_;
-
- DISALLOW_COPY_AND_ASSIGN(URLProvisionFetcher);
-};
-
-} // namespace content
-
-#endif // CHROME_BROWSER_MEDIA_ANDROID_URL_PROVISION_FETCHER_H_
« no previous file with comments | « content/browser/media/android/provision_fetcher_impl.cc ('k') | content/browser/media/android/url_provision_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698