| 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 b12fe5e19a9c7c29a9b87835fe524604a297cb7b..106a9039f12faae1c295e5ba1275078b7ff668ce 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/queue.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/queue.h
|
| @@ -72,7 +72,17 @@ class Queue {
|
| void Remove(size_t token);
|
|
|
| private:
|
| - struct Task;
|
| + // Information about an enqueued task which hasn't been removed, nor aborted.
|
| + struct Task {
|
| + Task();
|
| + Task(size_t token, const AbortableCallback& callback);
|
| + ~Task();
|
| +
|
| + size_t token;
|
| + bool completed;
|
| + AbortableCallback callback;
|
| + AbortCallback abort_callback;
|
| + };
|
|
|
| // Runs the next task from the pending queue if there is less than
|
| // |max_in_parallel_| tasks running at once.
|
|
|