| 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-internet-detail' is the settings subpage containing details | 7 * 'settings-internet-detail' is the settings subpage containing details |
| 8 * for a network. | 8 * for a network. |
| 9 */ | 9 */ |
| 10 (function() { | 10 (function() { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * The current properties for the network matching |guid|. | 26 * The current properties for the network matching |guid|. |
| 27 * @type {!CrOnc.NetworkProperties|undefined} | 27 * @type {!CrOnc.NetworkProperties|undefined} |
| 28 */ | 28 */ |
| 29 networkProperties: { | 29 networkProperties: { |
| 30 type: Object, | 30 type: Object, |
| 31 observer: 'networkPropertiesChanged_', | 31 observer: 'networkPropertiesChanged_', |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 /** Preferences state. */ |
| 35 prefs: { |
| 36 type: Object, |
| 37 notify: true, |
| 38 }, |
| 39 |
| 34 /** | 40 /** |
| 35 * Highest priority connected network or null. | 41 * Highest priority connected network or null. |
| 36 * @type {?CrOnc.NetworkStateProperties} | 42 * @type {?CrOnc.NetworkStateProperties} |
| 37 */ | 43 */ |
| 38 defaultNetwork: { | 44 defaultNetwork: { |
| 39 type: Object, | 45 type: Object, |
| 40 value: null, | 46 value: null, |
| 41 }, | 47 }, |
| 42 | 48 |
| 43 /** | 49 /** |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 */ | 763 */ |
| 758 allPropertiesMatch_: function(curValue, newValue) { | 764 allPropertiesMatch_: function(curValue, newValue) { |
| 759 for (let key in newValue) { | 765 for (let key in newValue) { |
| 760 if (newValue[key] != curValue[key]) | 766 if (newValue[key] != curValue[key]) |
| 761 return false; | 767 return false; |
| 762 } | 768 } |
| 763 return true; | 769 return true; |
| 764 } | 770 } |
| 765 }); | 771 }); |
| 766 })(); | 772 })(); |
| OLD | NEW |