Allow ProvisioningHolder to return load status.
[ Merge of http://go/wvgerrit/219452 ] Allow ProvisioningHolder to load the a provisioning response without triggering test failure if the CDM rejects the response. This is to allow testing cases where we expect the CDM to reject the response. VIC-specific: No specialized provisioning dump call. Bug: 391469176 Change-Id: Ief1791f23035fe9b554f8e82e049343aa7e97362
This commit is contained in:
@@ -40,7 +40,11 @@ class ProvisioningHolder {
|
||||
// JSON message of the response to |response_|.
|
||||
void FetchResponse();
|
||||
|
||||
// Loads the response into the |cdm_engine_|, expecting success.
|
||||
void LoadResponse(bool binary_provisioning);
|
||||
// Loads the response into the |cdm_engine_|, returning the
|
||||
// result from CDM.
|
||||
CdmResponseType LoadResponseReturnStatus(bool binary_provisioning);
|
||||
|
||||
const std::string& request() const { return request_; }
|
||||
// Sets the request to be used on next call to FetchResponse().
|
||||
|
||||
Reference in New Issue
Block a user