Merge CDM LRU change to Android.
[ Merge of http://go/wvgerrit/81903 ] [ Merge of http://go/wvgerrit/87473 ] [ Merge of http://go/wvgerrit/82568 ] [ Merge of http://go/wvgerrit/87266 ] [ Merge of http://go/wvgerrit/87474 ] [ Merge of http://go/wvgerrit/87475 ] Bug: 135046978 Test: GTS and Android unit tests Change-Id: Iff2ff62cea21eeb36d7b56c8bb852fce8447ff89
This commit is contained in:
@@ -33,6 +33,10 @@ message License {
|
||||
|
||||
optional LicenseState state = 1;
|
||||
optional bytes pssh_data = 2;
|
||||
// |license_request|, |license|, |renewal_request|, |renewal| represents a
|
||||
// serialized video_widevine::SignedMessage containing a
|
||||
// video_widevine::License or video_widevine::LicenseRequest from
|
||||
// license_protocol.proto
|
||||
optional bytes license_request = 3;
|
||||
optional bytes license = 4;
|
||||
optional bytes renewal_request = 5;
|
||||
@@ -53,6 +57,8 @@ message UsageInfo {
|
||||
message ProviderSession {
|
||||
optional bytes token = 1;
|
||||
optional bytes license_request = 2;
|
||||
// |license| represents a video_widevine::SignedMessage containing a
|
||||
// video_widevine::License from license_protocol.proto
|
||||
optional bytes license = 3;
|
||||
optional bytes key_set_id = 4;
|
||||
optional bytes usage_entry = 5;
|
||||
@@ -82,10 +88,16 @@ message UsageTableInfo {
|
||||
optional UsageEntryStorage storage = 1;
|
||||
optional bytes key_set_id = 2;
|
||||
optional bytes usage_info_file_name = 3; // hash of the app_id
|
||||
|
||||
// LRU table replacement data.
|
||||
optional int64 last_use_time = 4 [default = 0];
|
||||
// Only used if storage == LICENSE (offline license).
|
||||
optional int64 offline_license_expiry_time = 5 [default = 0];
|
||||
}
|
||||
|
||||
optional bytes usage_table_header = 1;
|
||||
repeated UsageEntryInfo usage_entry_info = 2;
|
||||
optional bool use_lru = 3 [default = false];
|
||||
}
|
||||
|
||||
message File {
|
||||
|
||||
Reference in New Issue
Block a user