Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Side by Side Diff: components/proximity_auth/webui/resources/local-state.js

Issue 1108713002: Add chrome://proximity-auth UI implemented with Polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698