OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 Polymer('local-state', { |
| 6 publish: { |
| 7 /** |
| 8 * The current CryptAuth enrollment status. |
| 9 * @type {{ |
| 10 * lastSuccessTime: ?number, |
| 11 * nextRefreshTime: string, |
| 12 * lastAttemptFailed: boolean, |
| 13 * }} |
| 14 */ |
| 15 enrollmentInfo: { |
| 16 lastSuccessTime: null, |
| 17 nextRefreshTime: '90 days', |
| 18 lastAttemptFailed: true |
| 19 }, |
| 20 |
| 21 /** |
| 22 * The current CryptAuth device sync status. |
| 23 * @type {{ |
| 24 * lastSuccessTime: ?number, |
| 25 * nextRefreshTime: string, |
| 26 * lastAttemptFailed: boolean, |
| 27 * }} |
| 28 */ |
| 29 deviceSyncInfo: { |
| 30 lastSuccessTime: "April 20 14:23", |
| 31 nextRefreshTime: '15.5 hours', |
| 32 lastAttemptFailed: false |
| 33 }, |
| 34 |
| 35 /** |
| 36 * List of unlock keys that can unlock the local device. |
| 37 * @type {Array<DeviceInfo>} |
| 38 */ |
| 39 unlockKeys: [ |
| 40 { |
| 41 publicKey: "CAESRQogOlH8DgPMQu7eAt-b6yoTXcazG8mAl6SPC5Ds-LTULIcSIQDZDM" + |
| 42 "qsoYRO4tNMej1FBEl1sTiTiVDqrcGq-CkYCzDThw==", |
| 43 friendlyDeviceName: "LGE Nexus 4", |
| 44 bluetoothAddress: "C4:43:8F:12:07:07", |
| 45 unlockKey: true, |
| 46 unlockable: false, |
| 47 connectionStatus: 'connected', |
| 48 remoteState: { |
| 49 userPresent: true, |
| 50 secureScreenLock: true, |
| 51 trustAgent: true |
| 52 }, |
| 53 }, |
| 54 ], |
| 55 }, |
| 56 }); |
OLD | NEW |