| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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-storage' is the settings subpage for storage settings. | 7 * 'settings-storage' is the settings subpage for storage settings. |
| 8 */ | 8 */ |
| 9 cr.exportPath('settings'); | 9 cr.exportPath('settings'); |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 type: Boolean, | 42 type: Boolean, |
| 43 value: false, | 43 value: false, |
| 44 }, | 44 }, |
| 45 | 45 |
| 46 /** @private */ | 46 /** @private */ |
| 47 androidEnabled_: { | 47 androidEnabled_: { |
| 48 type: Boolean, | 48 type: Boolean, |
| 49 value: false, | 49 value: false, |
| 50 }, | 50 }, |
| 51 | 51 |
| 52 /** @private */ |
| 53 isGuest_: { |
| 54 type: Boolean, |
| 55 value: function() { return loadTimeData.getBoolean('isGuest'); } |
| 56 }, |
| 57 |
| 52 /** @private {settings.StorageSizeStat} */ | 58 /** @private {settings.StorageSizeStat} */ |
| 53 sizeStat_: Object, | 59 sizeStat_: Object, |
| 54 }, | 60 }, |
| 55 | 61 |
| 56 /** | 62 /** |
| 57 * Timer ID for periodic update. | 63 * Timer ID for periodic update. |
| 58 * @private {number} | 64 * @private {number} |
| 59 */ | 65 */ |
| 60 updateTimerId_: -1, | 66 updateTimerId_: -1, |
| 61 | 67 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 switch (spaceState) { | 281 switch (spaceState) { |
| 276 case settings.StorageSpaceState.LOW: | 282 case settings.StorageSpaceState.LOW: |
| 277 return 'space-low'; | 283 return 'space-low'; |
| 278 case settings.StorageSpaceState.CRITICALLY_LOW: | 284 case settings.StorageSpaceState.CRITICALLY_LOW: |
| 279 return 'space-critically-low'; | 285 return 'space-critically-low'; |
| 280 default: | 286 default: |
| 281 return ''; | 287 return ''; |
| 282 } | 288 } |
| 283 }, | 289 }, |
| 284 }); | 290 }); |
| OLD | NEW |