mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
20 lines
926 B
Plaintext
20 lines
926 B
Plaintext
// 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.
|
|
|
|
module media.mojom;
|
|
|
|
// An interface to retrieve provision information for CDM. This includes Android
|
|
// MediaDrm. See Android documentation about MediaDrm provisioning:
|
|
// https://developer.android.com/reference/android/media/MediaDrm.ProvisionRequest.html
|
|
|
|
interface ProvisionFetcher {
|
|
// Requests the provision information with |default_url| and |request_data|
|
|
// and returns |result| and the |response|. On Android, the input parameters
|
|
// |default_url| and |request_data| corresponds to Java class
|
|
// MediaDrm.ProvisionRequest. |response| will be empty iff |result| is false.
|
|
// TODO(slan): Pass |default_url| as a url.mojom.Url (crbug.com/662752).
|
|
Retrieve(string default_url, string request_data)
|
|
=> (bool result, string response);
|
|
};
|