Clarify CredentialStorage interface.

SaveCredentials does not to return the credentials that it has just saved. Returning a status will do.
Improved documentation.

PiperOrigin-RevId: 494280108
This commit is contained in:
Janusz Sobczak
2022-12-09 15:41:12 -08:00
committed by Copybara-Service
parent c50cdc5671
commit 337e1f41b0
13 changed files with 209 additions and 237 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ void CredentialStorageImpl::SaveCredentials(
const std::vector<PrivateCredential>& private_credentials,
const std::vector<PublicCredential>& public_credentials,
PublicCredentialType public_credential_type,
GenerateCredentialsCallback callback) {
SaveCredentialsResultCallback callback) {
return impl_->SaveCredentials(manager_app_id, account_name,
private_credentials, public_credentials,
public_credential_type, std::move(callback));