зеркало из https://github.com/mozilla/pjs.git
[not part of the build] Added nsIStreamListenerTee for the new cache.
This commit is contained in:
Родитель
235d4c9c4f
Коммит
95e4eaf8b4
|
@ -119,3 +119,14 @@ interface nsIAsyncStreamListener : nsIStreamListener
|
|||
void init(in nsIStreamListener receiver,
|
||||
in nsIEventQueue eventQueue);
|
||||
};
|
||||
|
||||
/**
|
||||
* As data "flows" into a stream listener tee, it is copied to the output stream
|
||||
* and then forwarded onto the real listener.
|
||||
*/
|
||||
[scriptable, uuid(fb683e76-d42b-41a4-8ae6-65a6c2b146e5)]
|
||||
interface nsIStreamListenerTee : nsIStreamListener
|
||||
{
|
||||
void init(in nsIStreamListener listener,
|
||||
in nsIOutputStream sink);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче