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

Side by Side Diff: media/mojo/interfaces/provision_fetcher.mojom

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 unified diff | Download patch
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media.mojom; 5 module media.mojom;
6 6
7 // An interface to retrieve provision information for Android MediaDrm. 7 // An interface to retrieve provision information for CDM. This includes Android
8 // See Android documentation about MediaDrm provisioning: 8 // MediaDrm. See Android documentation about MediaDrm provisioning:
9 // https://developer.android.com/reference/android/media/MediaDrm.ProvisionReque st.html 9 // https://developer.android.com/reference/android/media/MediaDrm.ProvisionReque st.html
10 10
11 interface ProvisionFetcher { 11 interface ProvisionFetcher {
12 // Requests the provision information with |default_url| and |request_data| 12 // Requests the provision information with |default_url| and |request_data|
13 // and returns |result| and the |response|. The input parameters |default_url| 13 // and returns |result| and the |response|. On Android, the input parameters
14 // and |request_data| corresponds to Java class MediaDrm.ProvisionRequest. 14 // |default_url| and |request_data| corresponds to Java class
15 // |response| will be empty iff |result| is false. 15 // MediaDrm.ProvisionRequest. |response| will be empty iff |result| is false.
16 // TODO(slan): Pass |default_url| as a url.mojom.Url (crbug.com/662752).
16 Retrieve(string default_url, string request_data) 17 Retrieve(string default_url, string request_data)
17 => (bool result, string response); 18 => (bool result, string response);
18 }; 19 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698