Source release 14.1.0
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// Copyright 2013 Google Inc. All Rights Reserved.
|
||||
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
||||
// source code may only be used and distributed under the Widevine Master
|
||||
// License Agreement.
|
||||
// This file adds some print methods so that when unit tests fail, the
|
||||
// will print the name of an enumeration instead of the numeric value.
|
||||
|
||||
@@ -227,9 +229,6 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) {
|
||||
case REMOVE_ALL_USAGE_INFO_ERROR_2:
|
||||
*os << "REMOVE_ALL_USAGE_INFO_ERROR_2";
|
||||
break;
|
||||
case REMOVE_ALL_USAGE_INFO_ERROR_4:
|
||||
*os << "REMOVE_ALL_USAGE_INFO_ERROR_4";
|
||||
break;
|
||||
case REMOVE_ALL_USAGE_INFO_ERROR_5:
|
||||
*os << "REMOVE_ALL_USAGE_INFO_ERROR_5";
|
||||
break;
|
||||
@@ -594,6 +593,16 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) {
|
||||
case LOAD_ENTITLED_CONTENT_KEYS_ERROR:
|
||||
*os << "LOAD_ENTITLED_CONTENT_KEYS_ERROR";
|
||||
break;
|
||||
case GET_PROVISIONING_METHOD_ERROR: *os << "GET_PROVISIONING_METHOD_ERROR";
|
||||
break;
|
||||
case SESSION_NOT_FOUND_17: *os << "SESSION_NOT_FOUND_17";
|
||||
break;
|
||||
case SESSION_NOT_FOUND_18: *os << "SESSION_NOT_FOUND_18";
|
||||
break;
|
||||
case SESSION_NOT_FOUND_19: *os << "SESSION_NOT_FOUND_19";
|
||||
break;
|
||||
case DEVICE_CANNOT_REPROVISION: *os << "DEVICE_CANNOT_REPROVISION";
|
||||
break;
|
||||
default:
|
||||
*os << "Unknown CdmResponseType";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user