Source release 16.2.0

This commit is contained in:
John W. Bruce
2020-04-10 16:13:07 -07:00
parent 1ff9f8588a
commit b830b1d1fb
883 changed files with 509706 additions and 143739 deletions

View File

@@ -0,0 +1,32 @@
// Copyright 2019 Google LLC. All Rights Reserved. This file and proprietary
// source code may only be used and distributed under the Widevine Master
// License Agreement.
#ifndef WVCDM_CORE_FAKE_PROVISIONING_SERVER_H_
#define WVCDM_CORE_FAKE_PROVISIONING_SERVER_H_
#include <string>
#include "config_test_env.h"
namespace wvcdm {
// A fake provisioning server. This can be used to generate custom made
// provisioning responses.
class FakeProvisioningServer {
public:
FakeProvisioningServer();
// Get the service certificate for this server.
const std::string& service_certificate() { return service_certificate_; }
// Make a response for this request. Returns true on success.
bool MakeResponse(const std::string& serialized_signed_request,
std::string* json_response);
private:
std::string service_certificate_;
};
} // namespace wvcdm
#endif // WVCDM_CORE_FAKE_PROVISIONING_SERVER_H_