summaryrefslogtreecommitdiffstats
path: root/dom/cache/CacheStreamControlParent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/cache/CacheStreamControlParent.h')
-rw-r--r--dom/cache/CacheStreamControlParent.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/cache/CacheStreamControlParent.h b/dom/cache/CacheStreamControlParent.h
index 46fe834309..332c08487b 100644
--- a/dom/cache/CacheStreamControlParent.h
+++ b/dom/cache/CacheStreamControlParent.h
@@ -25,7 +25,12 @@ class CacheStreamControlParent final : public PCacheStreamControlParent,
CacheStreamControlParent();
void SetStreamList(SafeRefPtr<StreamList> aStreamList);
+
+ // Will close all streams. May synchronously free our this, see
+ // inherited StreamControl::CloseAllReadStreams.
void CloseAll();
+
+ // Implicitly called when the last stream goes away.
void Shutdown();
// StreamControl methods