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

Unified Diff: ui/file_manager/file_manager/background/js/task_queue_unittest.js

Issue 888693002: Correctly handle out of storage space and "actively importing" states in controller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: ui/file_manager/file_manager/background/js/task_queue_unittest.js
diff --git a/ui/file_manager/file_manager/background/js/task_queue_unittest.js b/ui/file_manager/file_manager/background/js/task_queue_unittest.js
index f5c2f4bbc987030fb74935f15e2be6f04760782a..d75a3a3438e7ce5fe2d759c42ba34f1431558f29 100644
--- a/ui/file_manager/file_manager/background/js/task_queue_unittest.js
+++ b/ui/file_manager/file_manager/background/js/task_queue_unittest.js
@@ -16,6 +16,7 @@ function setUp() {
// Reset counts for all update types.
updates[importer.TaskQueue.UpdateType[updateType]] = 0;
}
+
// Counts the number of updates of each type that have been received.
var updateCallback = function(type, updatedTask) {
updates[type]++;

Powered by Google App Engine
This is Rietveld 408576698