Report provider client token
[ Merge of http://go/wvgerrit/71103 ] A content provider may specify a provider client token in a license. This is a client token generated by a provider. If present in a license, they will now be included in a license renewal request. Bug: 34386290 Test: WV unit/integration tests Change-Id: I3db303ea4d8b4ff4495393be4015b49e13db2ffc
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
|
||||
namespace {
|
||||
|
||||
const std::string kEmptyString;
|
||||
|
||||
// URL for Google Provisioning Server.
|
||||
// The provisioning server supplies the certificate that is needed
|
||||
// to communicate with the License Server.
|
||||
@@ -200,7 +202,7 @@ CdmResponseType CertificateProvisioning::GetProvisioningRequest(
|
||||
provisioning_request.mutable_client_id();
|
||||
|
||||
CdmAppParameterMap app_parameter;
|
||||
status = id.Prepare(app_parameter, client_id);
|
||||
status = id.Prepare(app_parameter, kEmptyString, client_id);
|
||||
if (status != NO_ERROR) return status;
|
||||
|
||||
if (!service_certificate_->has_certificate()) {
|
||||
|
||||
Reference in New Issue
Block a user