Index: chrome/browser/chromeos/file_system_provider/queue.h |
diff --git a/chrome/browser/chromeos/file_system_provider/queue.h b/chrome/browser/chromeos/file_system_provider/queue.h |
index 7eca4f96dba929d3d794d4d0d92b1a7a1ec71ca0..559dcd655cfcfadf1273abf8930fb3faacf59da2 100644 |
--- a/chrome/browser/chromeos/file_system_provider/queue.h |
+++ b/chrome/browser/chromeos/file_system_provider/queue.h |
@@ -63,6 +63,11 @@ class Queue { |
// abort callback is NULL). |
void Abort(size_t token); |
+ // Returns true if the task which is in the queue with |token| has been |
+ // aborted. This method must not be called for tasks which are not in the |
+ // queue. |
+ bool IsAborted(size_t token); |
+ |
// Marks the previously enqueued task as complete. Must be called for each |
// enqueued task (unless aborted). Note, that Remove() must be called in order |
// to remove the task from the queue if it hasn't been aborted earlier. |