| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 410 |
| 411 /** | 411 /** |
| 412 * @param {!settings.SyncStatus} syncStatus | 412 * @param {!settings.SyncStatus} syncStatus |
| 413 * @return {boolean} Whether to show the "Sign in to Chrome" button. | 413 * @return {boolean} Whether to show the "Sign in to Chrome" button. |
| 414 * @private | 414 * @private |
| 415 */ | 415 */ |
| 416 showSignin_: function(syncStatus) { | 416 showSignin_: function(syncStatus) { |
| 417 return !!syncStatus.signinAllowed && !syncStatus.signedIn; | 417 return !!syncStatus.signinAllowed && !syncStatus.signedIn; |
| 418 }, | 418 }, |
| 419 }); | 419 }); |
| OLD | NEW |