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 * Utilities for FileOperationManager. | 8 * Utilities for FileOperationManager. |
9 */ | 9 */ |
10 var fileOperationUtil = {}; | 10 var fileOperationUtil = {}; |
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1493 | 1493 |
1494 /** | 1494 /** |
1495 * Generates new task ID. | 1495 * Generates new task ID. |
1496 * | 1496 * |
1497 * @return {string} New task ID. | 1497 * @return {string} New task ID. |
1498 * @private | 1498 * @private |
1499 */ | 1499 */ |
1500 FileOperationManager.prototype.generateTaskId_ = function() { | 1500 FileOperationManager.prototype.generateTaskId_ = function() { |
1501 return 'file-operation-' + this.taskIdCounter_++; | 1501 return 'file-operation-' + this.taskIdCounter_++; |
1502 }; | 1502 }; |
OLD | NEW |