Refactor and cleanup codes. No functional changes.

This commit is contained in:
KongQun Yang
2019-01-23 15:16:31 -08:00
parent 84f66d2320
commit 93265ab9d1
207 changed files with 14893 additions and 3332 deletions

View File

@@ -0,0 +1,18 @@
################################################################################
# Copyright 2018 Google LLC.
#
# This software is licensed under the terms defined in the Widevine Master
# License Agreement. For a copy of this agreement, please contact
# widevine-licensing@google.com.
################################################################################
from "util/task/python/clif.h" import *
from "common/python/drm_root_certificate.h" import *
from "common/drm_service_certificate.h":
namespace `widevine`:
staticmethods from `DrmServiceCertificate`:
def AddDrmServiceCertificate(
root_certificate: DrmRootCertificate,
service_certificate: bytes,
service_private_key: bytes,
service_private_key_passphrase: bytes) -> Status