mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Replace to use IdentityType where TrustType were used.
PiperOrigin-RevId: 463713311
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user