Index: content/browser/cache_storage/cache_storage_scheduler.h |
diff --git a/content/browser/cache_storage/cache_storage_scheduler.h b/content/browser/cache_storage/cache_storage_scheduler.h |
index 32e7617de00cd696f3a674eeebe8ee1038d6bcf4..dec6cbe72954b68847e90eb1c6d1ad44cffaaefe 100644 |
--- a/content/browser/cache_storage/cache_storage_scheduler.h |
+++ b/content/browser/cache_storage/cache_storage_scheduler.h |
@@ -12,6 +12,14 @@ |
namespace content { |
+// TODO(jkarlin): Support readers and writers so operations can run in parallel. |
+// TODO(jkarlin): Support operation identification so that ops can be checked in |
+// DCHECKs. |
+ |
+// CacheStorageScheduler runs the scheduled callbacks sequentially. Add an |
+// operation by calling ScheduleOperation() with your callback. Once your |
+// operation is done be sure to call CompleteOperationAndRunNext() to schedule |
+// the next operation. |
class CONTENT_EXPORT CacheStorageScheduler { |
public: |
CacheStorageScheduler(); |