| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 }, | 57 }, |
| 58 | 58 |
| 59 <if expr="chromeos"> | 59 <if expr="chromeos"> |
| 60 /** | 60 /** |
| 61 * True if quick unlock settings should be displayed on this machine. | 61 * True if quick unlock settings should be displayed on this machine. |
| 62 * @private | 62 * @private |
| 63 */ | 63 */ |
| 64 quickUnlockEnabled_: { | 64 quickUnlockEnabled_: { |
| 65 type: Boolean, | 65 type: Boolean, |
| 66 value: function() { | 66 value: function() { |
| 67 return loadTimeData.getBoolean('quickUnlockEnabled'); | 67 return loadTimeData.getBoolean('pinUnlockEnabled'); |
| 68 }, | 68 }, |
| 69 readOnly: true, | 69 readOnly: true, |
| 70 }, | 70 }, |
| 71 | 71 |
| 72 /** @private {!settings.EasyUnlockBrowserProxy} */ | 72 /** @private {!settings.EasyUnlockBrowserProxy} */ |
| 73 easyUnlockBrowserProxy_: { | 73 easyUnlockBrowserProxy_: { |
| 74 type: Object, | 74 type: Object, |
| 75 value: function() { | 75 value: function() { |
| 76 return settings.EasyUnlockBrowserProxyImpl.getInstance(); | 76 return settings.EasyUnlockBrowserProxyImpl.getInstance(); |
| 77 }, | 77 }, |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 /** | 362 /** |
| 363 * @param {!settings.SyncStatus} syncStatus | 363 * @param {!settings.SyncStatus} syncStatus |
| 364 * @return {boolean} Whether to show the "Sign in to Chrome" button. | 364 * @return {boolean} Whether to show the "Sign in to Chrome" button. |
| 365 * @private | 365 * @private |
| 366 */ | 366 */ |
| 367 showSignin_: function(syncStatus) { | 367 showSignin_: function(syncStatus) { |
| 368 return !!syncStatus.signinAllowed && !syncStatus.signedIn; | 368 return !!syncStatus.signinAllowed && !syncStatus.signedIn; |
| 369 }, | 369 }, |
| 370 }); | 370 }); |
| OLD | NEW |