Chromium Code Reviews| 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 * Example: | 9 * Example: |
| 10 * | 10 * |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 | 56 |
| 57 /** @private {!settings.SyncBrowserProxyImpl} */ | 57 /** @private {!settings.SyncBrowserProxyImpl} */ |
| 58 syncBrowserProxy_: { | 58 syncBrowserProxy_: { |
| 59 type: Object, | 59 type: Object, |
| 60 value: function() { | 60 value: function() { |
| 61 return settings.SyncBrowserProxyImpl.getInstance(); | 61 return settings.SyncBrowserProxyImpl.getInstance(); |
| 62 }, | 62 }, |
| 63 }, | 63 }, |
| 64 | 64 |
| 65 <if expr="chromeos"> | 65 <if expr="chromeos"> |
| 66 /** | |
| 67 * True if Pin Unlock is allowed on this machine. | |
| 68 */ | |
| 69 pinUnlockAllowed_: { | |
| 70 type: Boolean, | |
| 71 value: function() { | |
| 72 /* TODO(jdufault): Return a real value. */ | |
|
tommycli
2016/05/02 16:11:27
We should probably return the real value before th
jdufault
2016/05/03 19:21:58
I think it makes sense to define this using a priv
tommycli
2016/05/04 19:29:02
Ah I forgot you were doing a private extension API
| |
| 73 return false; | |
| 74 }, | |
| 75 readOnly: true, | |
| 76 }, | |
| 77 | |
| 66 /** @private {!settings.EasyUnlockBrowserProxyImpl} */ | 78 /** @private {!settings.EasyUnlockBrowserProxyImpl} */ |
| 67 easyUnlockBrowserProxy_: { | 79 easyUnlockBrowserProxy_: { |
| 68 type: Object, | 80 type: Object, |
| 69 value: function() { | 81 value: function() { |
| 70 return settings.EasyUnlockBrowserProxyImpl.getInstance(); | 82 return settings.EasyUnlockBrowserProxyImpl.getInstance(); |
| 71 }, | 83 }, |
| 72 }, | 84 }, |
| 73 | 85 |
| 74 /** | 86 /** |
| 75 * True if Easy Unlock is allowed on this machine. | 87 * True if Easy Unlock is allowed on this machine. |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 | 250 |
| 239 /** | 251 /** |
| 240 * @private | 252 * @private |
| 241 * @return {boolean} | 253 * @return {boolean} |
| 242 */ | 254 */ |
| 243 isAdvancedSyncSettingsVisible_: function(syncStatus) { | 255 isAdvancedSyncSettingsVisible_: function(syncStatus) { |
| 244 return syncStatus && syncStatus.signedIn && !syncStatus.managed && | 256 return syncStatus && syncStatus.signedIn && !syncStatus.managed && |
| 245 syncStatus.syncSystemEnabled; | 257 syncStatus.syncSystemEnabled; |
| 246 }, | 258 }, |
| 247 }); | 259 }); |
| OLD | NEW |