| 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 'settings-language-detail-page' is a sub-page for editing | 6 * @fileoverview 'settings-language-detail-page' is a sub-page for editing |
| 7 * an individual language's settings. | 7 * an individual language's settings. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-language-detail-page', | 10 is: 'settings-language-detail-page', |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 this.languageHelper.resetUILanguage(); | 164 this.languageHelper.resetUILanguage(); |
| 165 } | 165 } |
| 166 }, | 166 }, |
| 167 | 167 |
| 168 /** | 168 /** |
| 169 * Handler for the restart button. | 169 * Handler for the restart button. |
| 170 * @private | 170 * @private |
| 171 */ | 171 */ |
| 172 onRestartTap_: function() { | 172 onRestartTap_: function() { |
| 173 <if expr="chromeos"> | 173 <if expr="chromeos"> |
| 174 settings.LifetimeBrowserProxyImpl.getInstance().logOutAndRestart(); | 174 settings.LifetimeBrowserProxyImpl.getInstance().signOutAndRestart(); |
| 175 </if> | 175 </if> |
| 176 <if expr="not chromeos"> | 176 <if expr="not chromeos"> |
| 177 settings.LifetimeBrowserProxyImpl.getInstance().restart(); | 177 settings.LifetimeBrowserProxyImpl.getInstance().restart(); |
| 178 </if> | 178 </if> |
| 179 }, | 179 }, |
| 180 }); | 180 }); |
| OLD | NEW |