Replace to use IdentityType where TrustType were used.

PiperOrigin-RevId: 463713311
This commit is contained in:
hais
2022-07-27 17:07:19 -07:00
committed by Copybara-Service
parent c7c698412c
commit d5f86a04d6
5 changed files with 37 additions and 25 deletions
@@ -22,14 +22,15 @@
#include "internal/platform/exception.h"
#include "third_party/nearby/presence/credential.h"
#include "third_party/nearby/presence/presence_identity.h"
namespace location {
namespace nearby {
namespace api {
using ::nearby::presence::PresenceIdentity;
using ::nearby::presence::PrivateCredential;
using ::nearby::presence::PublicCredential;
using ::nearby::presence::TrustType;
enum class CredentialOperationStatus {
kFailed = 0,
@@ -38,7 +39,7 @@ enum class CredentialOperationStatus {
struct CredentialSelector {
std::string account_name;
TrustType trust_type;
PresenceIdentity::IdentityType identity_type;
};
struct SaveCredentialCallback {