OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * Progress center at the background page. | 8 * Progress center at the background page. |
9 * @constructor | 9 * @constructor |
10 */ | 10 */ |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 item.state = ProgressItemState.COMPLETE; | 460 item.state = ProgressItemState.COMPLETE; |
461 item.progressValue = item.progressMax; | 461 item.progressValue = item.progressMax; |
462 } else { | 462 } else { |
463 item.message = str('DELETE_ERROR'); | 463 item.message = str('DELETE_ERROR'); |
464 item.state = ProgressItemState.ERROR; | 464 item.state = ProgressItemState.ERROR; |
465 } | 465 } |
466 progressCenter.updateItem(item); | 466 progressCenter.updateItem(item); |
467 break; | 467 break; |
468 } | 468 } |
469 }; | 469 }; |
OLD | NEW |