In this code update we add a test to ensure that the White-box API implementation handle seeing multiple renewal keys correctly. Since there should be no more than one renewal key in a license response, upon seeing a second renewal key, the implementation should return a WB_RESULT_INVALID_PARAMETER code. Due to changes in how Chrome manages CHECKS and DCHECKS, this code has been updated to use the new headers.
14 lines
469 B
C
14 lines
469 B
C
// Copyright 2020 Google LLC. All Rights Reserved.
|
|
|
|
#ifndef BASE_CHECK_H_
|
|
#define BASE_CHECK_H_
|
|
|
|
// Chromium has split CHECK/DCHECK out of logging.h into it's own header.
|
|
// However, it's all still together in the GLOG header, so just include
|
|
// it. This may cause problems when importing into Alcatraz as code using
|
|
// anyone of these headers gets all the functions, not just the ones
|
|
// represented by this header.
|
|
#include "base/logging.h"
|
|
|
|
#endif // BASE_CHECK_H_
|