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

Unified Diff: ui/file_manager/image_loader/scheduler.js

Issue 1148563004: Fix all compiler errors found by the new compiler version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/image_loader/request.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/image_loader/scheduler.js
diff --git a/ui/file_manager/image_loader/scheduler.js b/ui/file_manager/image_loader/scheduler.js
index b0f841bcdfca68dffdf823186407663906f4d8e8..0d1c638cef7f796144a1936b66364ef740d77a30 100644
--- a/ui/file_manager/image_loader/scheduler.js
+++ b/ui/file_manager/image_loader/scheduler.js
@@ -14,21 +14,21 @@ function Scheduler() {
* However, if they have to be downloaded, then these requests are moved
* to pendingRequests_.
*
- * @type {Array.<Request>}
+ * @type {Array.<ImageRequest>}
* @private
*/
this.newRequests_ = [];
/**
* List of pending requests for images to be downloaded.
- * @type {Array.<Request>}
+ * @type {Array.<ImageRequest>}
* @private
*/
this.pendingRequests_ = [];
/**
* List of requests being processed.
- * @type {Array.<Request>}
+ * @type {Array.<ImageRequest>}
* @private
*/
this.activeRequests_ = [];
@@ -60,7 +60,7 @@ Scheduler.MAXIMUM_IN_PARALLEL = 5;
* with higher priorities are finished. If the result is cached, then it is
* processed immediately once the scheduler is started.
*
- * @param {Request} request Request object.
+ * @param {ImageRequest} request Request object.
*/
Scheduler.prototype.add = function(request) {
if (!this.started_) {
@@ -149,7 +149,7 @@ Scheduler.prototype.continue_ = function() {
/**
* Handles finished requests.
*
- * @param {Request} request Finished request.
+ * @param {ImageRequest} request Finished request.
* @private
*/
Scheduler.prototype.finish_ = function(request) {
« no previous file with comments | « ui/file_manager/image_loader/request.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698