Replace hardcoded parameters
This commit is contained in:
@@ -32,12 +32,13 @@ bool SetClientInfo(ClientIdentification* client_id, absl::string_view name,
|
||||
// Return the value from client_id.client_info() matching the given name,
|
||||
// or the empty std::string if not found.
|
||||
std::string GetClientInfo(const ClientIdentification& client_id,
|
||||
absl::string_view name);
|
||||
absl::string_view name);
|
||||
|
||||
// Return the value from client_id.client_info() matching the given name,
|
||||
// or the given default value if not found.
|
||||
std::string GetClientInfo(const ClientIdentification& client_id,
|
||||
absl::string_view name, const std::string& default_value);
|
||||
absl::string_view name,
|
||||
const std::string& default_value);
|
||||
|
||||
// Decrypts the encrypted client identification in |encrypted_client_id| into
|
||||
// |client_id| using the private key for the service certificate which was
|
||||
@@ -56,6 +57,8 @@ Status DecryptEncryptedClientIdentification(
|
||||
const EncryptedClientIdentification& encrypted_client_id,
|
||||
const std::string& privacy_key, ClientIdentification* client_id);
|
||||
|
||||
uint32_t GetSystemId(const ClientIdentification& client_id);
|
||||
|
||||
} // namespace widevine
|
||||
|
||||
#endif // COMMON_CLIENT_ID_UTIL_H_
|
||||
|
||||
Reference in New Issue
Block a user