diff --git a/internal/proto/credential.proto b/internal/proto/credential.proto index 366d09c3..2ba552b5 100644 --- a/internal/proto/credential.proto +++ b/internal/proto/credential.proto @@ -82,7 +82,7 @@ message SharedCredential { // The type assigned to the credential. The CredentialType is used to // determine whether a device identity credential or account based identity // credential is used for decryption. - CredentialType type = 11; + CredentialType credential_type = 11; // The encrypted Metadata in bytes. Encrypted by the v1 // metadata_encryption_key. diff --git a/internal/proto/metadata.proto b/internal/proto/metadata.proto index abd9a861..f95a70ad 100644 --- a/internal/proto/metadata.proto +++ b/internal/proto/metadata.proto @@ -24,7 +24,7 @@ option optimize_for = LITE_RUNTIME; // The metadata of a device. Contains confidential data not to be broadcasted // directly in OTA. -// NEXT_ID=4 +// NEXT_ID=5 message DeviceIdentityMetaData { // The type of the device. DeviceType device_type = 1; @@ -35,6 +35,9 @@ message DeviceIdentityMetaData { // The ChromeOS team requires the BT mac address for debugging purposes // temporarily. This should be removed by the end of this year. bytes bluetooth_mac_address = 3; + + // The instance type (user profile) related to the metadata. + InstanceType instance_type = 4; } // The metadata of a device.