OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'settings-people-page' is the settings page containing sign-in settings. | 7 * 'settings-people-page' is the settings page containing sign-in settings. |
8 */ | 8 */ |
9 Polymer({ | 9 Polymer({ |
10 is: 'settings-people-page', | 10 is: 'settings-people-page', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 }, | 59 }, |
60 }, | 60 }, |
61 | 61 |
62 <if expr="chromeos"> | 62 <if expr="chromeos"> |
63 /** | 63 /** |
64 * True if quick unlock settings should be displayed on this machine. | 64 * True if quick unlock settings should be displayed on this machine. |
65 * @private | 65 * @private |
66 */ | 66 */ |
67 quickUnlockAllowed_: { | 67 quickUnlockAllowed_: { |
68 type: Boolean, | 68 type: Boolean, |
69 // TODO(jdufault): Get a real value via quickUnlockPrivate API. | 69 // TODO(jdufault): Disable quick unlock if not allowed by policy. |
70 value: false, | 70 value: true, |
tommycli
2016/07/13 22:26:25
Can we delay this until we have browser tests?
Al
jdufault
2016/07/13 22:31:20
PMs/others want to be able to test out the flow AS
| |
71 readOnly: true, | 71 readOnly: true, |
72 }, | 72 }, |
73 | 73 |
74 /** @private {!settings.EasyUnlockBrowserProxy} */ | 74 /** @private {!settings.EasyUnlockBrowserProxy} */ |
75 easyUnlockBrowserProxy_: { | 75 easyUnlockBrowserProxy_: { |
76 type: Object, | 76 type: Object, |
77 value: function() { | 77 value: function() { |
78 return settings.EasyUnlockBrowserProxyImpl.getInstance(); | 78 return settings.EasyUnlockBrowserProxyImpl.getInstance(); |
79 }, | 79 }, |
80 }, | 80 }, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
317 if (!syncStatus) | 317 if (!syncStatus) |
318 return ''; | 318 return ''; |
319 if (syncStatus.hasError) | 319 if (syncStatus.hasError) |
320 return 'settings:sync-problem'; | 320 return 'settings:sync-problem'; |
321 if (syncStatus.managed) | 321 if (syncStatus.managed) |
322 return 'settings:sync-disabled'; | 322 return 'settings:sync-disabled'; |
323 | 323 |
324 return 'settings:done'; | 324 return 'settings:done'; |
325 }, | 325 }, |
326 }); | 326 }); |
OLD | NEW |