Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Side by Side Diff: chrome/browser/resources/file_manager/js/metadata/function_parallel.js

Issue 9583009: [File Manager] Cleanup: Moving js/css/html files to dedicated directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011->2012 Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 /** 5 /**
6 * @constructor 6 * @constructor
7 * @class FunctionSequence to invoke steps in sequence 7 * @class FunctionSequence to invoke steps in sequence
8 * 8 *
9 * @param steps array of functions to invoke in parallel 9 * @param steps array of functions to invoke in parallel
10 * @param callback callback to invoke on success 10 * @param callback callback to invoke on success
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 for (var i=0; i < this.steps_.length; i++) { 66 for (var i=0; i < this.steps_.length; i++) {
67 this.logger.vlog('Attempting to start step [' + this.steps_[i].name + ']'); 67 this.logger.vlog('Attempting to start step [' + this.steps_[i].name + ']');
68 try { 68 try {
69 this.steps_[i].apply(this, arguments); 69 this.steps_[i].apply(this, arguments);
70 } catch(e) { 70 } catch(e) {
71 this.onError(e.toString()); 71 this.onError(e.toString());
72 } 72 }
73 } 73 }
74 }; 74 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698