| 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 'settings-about-page' contains version and OS related | 6 * @fileoverview 'settings-about-page' contains version and OS related |
| 7 * information. | 7 * information. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-about-page', | 10 is: 'settings-about-page', |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 * @private | 287 * @private |
| 288 */ | 288 */ |
| 289 getIcon_: function() { | 289 getIcon_: function() { |
| 290 // If this platform has reached the end of the line, display an error icon | 290 // If this platform has reached the end of the line, display an error icon |
| 291 // and ignore UpdateStatus. | 291 // and ignore UpdateStatus. |
| 292 if (this.obsoleteSystemInfo_.endOfLine) | 292 if (this.obsoleteSystemInfo_.endOfLine) |
| 293 return 'settings:error'; | 293 return 'settings:error'; |
| 294 | 294 |
| 295 switch (this.currentUpdateStatusEvent_.status) { | 295 switch (this.currentUpdateStatusEvent_.status) { |
| 296 case UpdateStatus.DISABLED_BY_ADMIN: | 296 case UpdateStatus.DISABLED_BY_ADMIN: |
| 297 return 'cr:domain'; | 297 return 'cr20:domain'; |
| 298 case UpdateStatus.FAILED: | 298 case UpdateStatus.FAILED: |
| 299 return 'settings:error'; | 299 return 'settings:error'; |
| 300 case UpdateStatus.UPDATED: | 300 case UpdateStatus.UPDATED: |
| 301 case UpdateStatus.NEARLY_UPDATED: | 301 case UpdateStatus.NEARLY_UPDATED: |
| 302 return 'settings:check-circle'; | 302 return 'settings:check-circle'; |
| 303 default: | 303 default: |
| 304 return null; | 304 return null; |
| 305 } | 305 } |
| 306 }, | 306 }, |
| 307 | 307 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 }); | 400 }); |
| 401 }, | 401 }, |
| 402 | 402 |
| 403 // <if expr="_google_chrome"> | 403 // <if expr="_google_chrome"> |
| 404 /** @private */ | 404 /** @private */ |
| 405 onReportIssueTap_: function() { | 405 onReportIssueTap_: function() { |
| 406 this.aboutBrowserProxy_.openFeedbackDialog(); | 406 this.aboutBrowserProxy_.openFeedbackDialog(); |
| 407 }, | 407 }, |
| 408 // </if> | 408 // </if> |
| 409 }); | 409 }); |
| OLD | NEW |