Source release 15.2.0

This commit is contained in:
John W. Bruce
2019-06-28 16:02:52 -07:00
parent 2b26dee09c
commit 2990f23065
1236 changed files with 166886 additions and 142315 deletions

View File

@@ -246,9 +246,12 @@ class CDM_EXPORT Cdm : public ITimerClient {
virtual bool write(const std::string& name, const std::string& data) = 0;
virtual bool exists(const std::string& name) = 0;
virtual bool remove(const std::string& name) = 0;
// Returns the size of the given file. If the file does not exist or any
// other error occurs, this should return a negative number.
virtual int32_t size(const std::string& name) = 0;
// populates |file_names| with the name of each file in the file system.
// Populates |file_names| with the name of each file in the file system.
// This is assumed to be a flat filename space (top level directory is
// unnamed, and there are no subdirectories).
virtual bool list(std::vector<std::string>* file_names) = 0;
@@ -444,10 +447,6 @@ class CDM_EXPORT Cdm : public ITimerClient {
// determined by the CDM's current IStorage object.
virtual Status removeProvisioning() = 0;
// Remove the device's usage table.
// This calls on OEMCrypto to delete its usage records.
virtual Status removeUsageTable() = 0;
// Get the current list of offline licenses on the system.
// License storage is origin-specific, and the origin is determined by the
// CDM's current IStorage object.
@@ -554,6 +553,14 @@ class CDM_EXPORT Cdm : public ITimerClient {
// should require a release request, as is done by the remove() method.
virtual Status forceRemove(const std::string& session_id) = 0;
// Wipe the device's usage table.
// This calls on OEMCrypto to delete its usage records.
// This method deletes *all* of the usage records on the device. Generally,
// you do not want to call this method. You probably want to call
// deleteUsageRecord() or deleteAllUsageRecords(), which only operate on the
// current origin.
virtual Status removeUsageTable() = 0;
// Describes a repeating pattern as defined by the CENC 3.0 standard. A
// CENC 3.0 pattern consists of a number of encrypted blocks followed by a
// number of clear blocks, after which it repeats.

View File

@@ -1,3 +1,5 @@
// Widevine CE CDM Version
#define CDM_VERSION "15.1.0"
#ifndef CDM_VERSION
# define CDM_VERSION "15.2.0-non-prod"
#endif
#define EME_VERSION "https://www.w3.org/TR/2017/REC-encrypted-media-20170918"