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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 /** | 44 /** |
45 * The current profile name. | 45 * The current profile name. |
46 */ | 46 */ |
47 profileName_: String, | 47 profileName_: String, |
48 | 48 |
49 /** | 49 /** |
50 * True if the current profile manages supervised users. | 50 * True if the current profile manages supervised users. |
51 */ | 51 */ |
52 profileManagesSupervisedUsers_: Boolean, | 52 profileManagesSupervisedUsers_: Boolean, |
53 | 53 |
54 /** @private {!settings.SyncBrowserProxyImpl} */ | 54 /** @private {!settings.SyncBrowserProxy} */ |
55 syncBrowserProxy_: { | 55 syncBrowserProxy_: { |
56 type: Object, | 56 type: Object, |
57 value: function() { | 57 value: function() { |
58 return settings.SyncBrowserProxyImpl.getInstance(); | 58 return settings.SyncBrowserProxyImpl.getInstance(); |
59 }, | 59 }, |
60 }, | 60 }, |
61 | 61 |
62 <if expr="chromeos"> | 62 <if expr="chromeos"> |
63 /** | 63 /** |
64 * True if Pin Unlock is allowed on this machine. | 64 * True if Pin Unlock is allowed on this machine. |
65 */ | 65 */ |
66 pinUnlockAllowed_: { | 66 pinUnlockAllowed_: { |
67 type: Boolean, | 67 type: Boolean, |
68 value: function() { | 68 value: function() { |
69 /* TODO(jdufault): Return a real value via quickUnlockPrivate API. */ | 69 /* TODO(jdufault): Return a real value via quickUnlockPrivate API. */ |
70 return false; | 70 return false; |
71 }, | 71 }, |
72 readOnly: true, | 72 readOnly: true, |
73 }, | 73 }, |
74 | 74 |
75 /** @private {!settings.EasyUnlockBrowserProxyImpl} */ | 75 /** @private {!settings.EasyUnlockBrowserProxy} */ |
76 easyUnlockBrowserProxy_: { | 76 easyUnlockBrowserProxy_: { |
77 type: Object, | 77 type: Object, |
78 value: function() { | 78 value: function() { |
79 return settings.EasyUnlockBrowserProxyImpl.getInstance(); | 79 return settings.EasyUnlockBrowserProxyImpl.getInstance(); |
80 }, | 80 }, |
81 }, | 81 }, |
82 | 82 |
83 /** | 83 /** |
84 * True if Easy Unlock is allowed on this machine. | 84 * True if Easy Unlock is allowed on this machine. |
85 */ | 85 */ |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 if (!syncStatus) | 291 if (!syncStatus) |
292 return ''; | 292 return ''; |
293 if (syncStatus.hasError) | 293 if (syncStatus.hasError) |
294 return 'settings:sync-problem'; | 294 return 'settings:sync-problem'; |
295 if (syncStatus.managed) | 295 if (syncStatus.managed) |
296 return 'settings:sync-disabled'; | 296 return 'settings:sync-disabled'; |
297 | 297 |
298 return 'settings:done'; | 298 return 'settings:done'; |
299 }, | 299 }, |
300 }); | 300 }); |
OLD | NEW |