1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_dom_StreamUtils_h
6 #define mozilla_dom_StreamUtils_h
8 #include "mozilla/ErrorResult.h"
10 namespace mozilla::dom
{
12 struct QueuingStrategy
;
14 double ExtractHighWaterMark(const QueuingStrategy
& aStrategy
,
15 double aDefaultHWM
, ErrorResult
& aRv
);
17 } // namespace mozilla::dom
19 #endif // mozilla_dom_StreamUtils_h