1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef InputChannelThrottleQueueChild_h__
7 #define InputChannelThrottleQueueChild_h__
9 #include "mozilla/net/PInputChannelThrottleQueueChild.h"
10 #include "mozilla/net/ThrottleQueue.h"
11 #include "nsISupportsImpl.h"
16 class InputChannelThrottleQueueChild final
17 : public PInputChannelThrottleQueueChild
,
18 public ThrottleQueue
{
20 friend class PInputChannelThrottleQueueChild
;
21 NS_DECL_ISUPPORTS_INHERITED
23 explicit InputChannelThrottleQueueChild() = default;
24 NS_IMETHOD
RecordRead(uint32_t aBytesRead
) override
;
27 virtual ~InputChannelThrottleQueueChild() = default;
31 } // namespace mozilla
33 #endif // InputChannelThrottleQueueChild_h__