Address compilation warnings
[ Merge of http://go/wvgerrit/119523 ] Bug: 182299187 Test: compile vendor/widevine/libwvdrmengine Change-Id: I39d1b62a3237bfb9163a7e157b871f22e3fec394
This commit is contained in:
@@ -53,13 +53,13 @@ namespace {
|
||||
const int kHttpOk = 200;
|
||||
|
||||
const wvcdm::CdmIdentifier kExampleIdentifier = {
|
||||
wvcdm::EMPTY_SPOID, "com.example", "com.example", 7};
|
||||
wvcdm::EMPTY_SPOID, "com.example", "com.example", 7, 9};
|
||||
|
||||
const wvcdm::CdmIdentifier kAlternateCdmIdentifier1 = {
|
||||
"alternate_spoid_1", "alternate_origin_1", "com.alternate1.url", 8};
|
||||
"alternate_spoid_1", "alternate_origin_1", "com.alternate1.url", 8, 10};
|
||||
|
||||
const wvcdm::CdmIdentifier kAlternateCdmIdentifier2 = {
|
||||
"alternate_spoid_2", "" /* empty origin */, "com.alternate2.url", 8};
|
||||
"alternate_spoid_2", "" /* empty origin */, "com.alternate2.url", 9, 11};
|
||||
|
||||
const std::string kEmptyServiceCertificate;
|
||||
const std::string kComma = ",";
|
||||
|
||||
@@ -145,10 +145,10 @@ TEST_F(WvContentDecryptionModuleMetricsTest,
|
||||
CdmSessionId session_id;
|
||||
wvcdm::CdmKeySystem key_system("com.widevine");
|
||||
CdmIdentifier identifiers[] = {kDefaultCdmIdentifier,
|
||||
{"foo", "bar", "baz", 7},
|
||||
{"foo", "bar", "baz", 7, 10},
|
||||
// Note that this has all the same parameters
|
||||
// as the one above except for the unique_id.
|
||||
{"foo", "bar", "baz", 8}};
|
||||
{"foo", "bar", "baz", 8, 11}};
|
||||
const int cdm_engine_count = 3;
|
||||
|
||||
// Force Unprovision.
|
||||
|
||||
Reference in New Issue
Block a user