Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module media.interfaces; | |
|
Ken Rockot(use gerrit already)
2015/11/24 17:35:58
BTW: I think we'd like to standardize on .mojom fo
xhwang
2015/11/24 19:43:21
I asked about this before and at that time there w
Ken Rockot(use gerrit already)
2015/11/24 20:05:29
Indeed, and totally understandable
| |
| 6 | |
| 7 // An interface to retrieve provision information for Android MediaDrm. | |
| 8 // See Android documentation about MediaDrm provisioning: | |
| 9 // https://developer.android.com/reference/android/media/MediaDrm.ProvisionReque st.html | |
| 10 | |
| 11 interface ProvisionFetcher { | |
| 12 // Requests the provision information with |default_url| and |request_data| | |
| 13 // and returns |result| and the |response|. The input parameters |default_url| | |
| 14 // and |request_data| corresponds to Java class MediaDrm.ProvisionRequest. | |
| 15 // |response| will be null iff |result| is false. | |
|
Ken Rockot(use gerrit already)
2015/11/24 17:35:58
Why bother having |result| at all if |response| is
xhwang
2015/11/24 19:43:21
That would work. But personally I'd like to be exp
| |
| 16 Retrieve(string default_url, string request_data) | |
| 17 => (bool result, string? response); | |
| 18 }; | |
| OLD | NEW |