Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" | 5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 | 8 |
| 9 const char kEasyUnlockKeyMetaNameBluetoothAddress[] = "eu.btaddr"; | 9 const char kEasyUnlockKeyMetaNameBluetoothAddress[] = "eu.btaddr"; |
| 10 const char kEasyUnlockKeyMetaNameBluetoothType[] = "eu.bttype"; | 10 const char kEasyUnlockKeyMetaNameBluetoothType[] = "eu.bttype"; |
| 11 const char kEasyUnlockKeyMetaNamePsk[] = "eu.psk"; | 11 const char kEasyUnlockKeyMetaNamePsk[] = "eu.psk"; |
| 12 const char kEasyUnlockKeyMetaNamePubKey[] = "eu.pubkey"; | 12 const char kEasyUnlockKeyMetaNamePubKey[] = "eu.pubkey"; |
| 13 const char kEasyUnlockKeyMetaNameChallenge[] = "eu.C"; | 13 const char kEasyUnlockKeyMetaNameChallenge[] = "eu.C"; |
| 14 const char kEasyUnlockKeyMetaNameWrappedSecret[] = "eu.WUK"; | 14 const char kEasyUnlockKeyMetaNameWrappedSecret[] = "eu.WUK"; |
| 15 const char kEasyUnlockKeyMetaNameSerializedBeaconSeeds[] = "eu.BS"; | |
|
Ryan Hansberry
2017/05/09 02:44:08
I don't know much about how this is stored, but th
Tim Song
2017/05/10 18:23:26
These names are prefixed with "eu" (EasyUnlock), s
| |
| 15 | 16 |
| 16 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData() | 17 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData() |
| 17 : bluetooth_type(BLUETOOTH_CLASSIC) {} | 18 : bluetooth_type(BLUETOOTH_CLASSIC) {} |
| 18 | 19 |
| 19 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData( | 20 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData( |
| 20 const EasyUnlockDeviceKeyData& other) = default; | 21 const EasyUnlockDeviceKeyData& other) = default; |
| 21 | 22 |
| 22 EasyUnlockDeviceKeyData::~EasyUnlockDeviceKeyData() { | 23 EasyUnlockDeviceKeyData::~EasyUnlockDeviceKeyData() { |
| 23 } | 24 } |
| 24 | 25 |
| 25 } // namespace chromeos | 26 } // namespace chromeos |
| OLD | NEW |