| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 cr.exportPath('options'); | 5 cr.exportPath('options'); |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @typedef {{GUID: string, Name: string, Source: string, Type: string}} | 8 * @typedef {{GUID: string, Name: string, Source: string, Type: string}} |
| 9 */ | 9 */ |
| 10 options.PreferredNetwork; | 10 options.PreferredNetwork; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 /** | 147 /** |
| 148 * Adds a remembered network to the list. | 148 * Adds a remembered network to the list. |
| 149 * @param {options.PreferredNetwork} data Description of the network. | 149 * @param {options.PreferredNetwork} data Description of the network. |
| 150 */ | 150 */ |
| 151 append: function(data) { | 151 append: function(data) { |
| 152 this.dataModel.push(data); | 152 this.dataModel.push(data); |
| 153 } | 153 } |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 // Export | 156 // Export |
| 157 return { | 157 return {PreferredNetworks: PreferredNetworks}; |
| 158 PreferredNetworks: PreferredNetworks | |
| 159 }; | |
| 160 | 158 |
| 161 }); | 159 }); |
| OLD | NEW |