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

Unified Diff: media/base/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
« no previous file with comments | « media/base/android/provision_fetcher.h ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/provision_fetcher.h
diff --git a/media/base/android/provision_fetcher.h b/media/base/provision_fetcher.h
similarity index 70%
rename from media/base/android/provision_fetcher.h
rename to media/base/provision_fetcher.h
index deb9f19d6b7d4ef4fc8495fd53055f474de0db22..6ad3d039d199e5ff4db55b414c50573072cf7d8e 100644
--- a/media/base/android/provision_fetcher.h
+++ b/media/base/provision_fetcher.h
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_BASE_ANDROID_PROVISION_FETCHER_H_
-#define MEDIA_BASE_ANDROID_PROVISION_FETCHER_H_
+#ifndef MEDIA_BASE_PROVISION_FETCHER_H_
+#define MEDIA_BASE_PROVISION_FETCHER_H_
#include <memory>
#include <string>
#include "base/callback.h"
-#include "media/base/media_export.h"
namespace media {
-// The interface to retrieve provision information for MediaDrmBridge.
-class MEDIA_EXPORT ProvisionFetcher {
+// The interface to retrieve provision information for CDM.
+class ProvisionFetcher {
public:
// After provision information is retrieved this callback will be called
// with the status flag (success/failure) and the provision response in
@@ -25,8 +24,8 @@ class MEDIA_EXPORT ProvisionFetcher {
virtual ~ProvisionFetcher() {}
// Requests the provision information with |default_url| and |request_data|
- // and calls |response_cb| callback with the response. The input parameters
- // |default_url| and |request_data| corresponds to Java class
+ // and calls |response_cb| callback with the response. On Android, the input
+ // parameters |default_url| and |request_data| corresponds to Java class
// MediaDrm.ProvisionRequest.
// The implementation must call |response_cb| asynchronously on the same
// thread that this method is called.
@@ -39,4 +38,4 @@ using CreateFetcherCB = base::Callback<std::unique_ptr<ProvisionFetcher>()>;
} // namespace media
-#endif // MEDIA_BASE_ANDROID_PROVISION_FETCHER_H_
+#endif // MEDIA_BASE_PROVISION_FETCHER_H_
« no previous file with comments | « media/base/android/provision_fetcher.h ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698