LCOV - code coverage report
Current view: top level - netwerk/base - RedirectChannelRegistrar.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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/. */
       4             : 
       5             : #ifndef RedirectChannelRegistrar_h__
       6             : #define RedirectChannelRegistrar_h__
       7             : 
       8             : #include "nsIRedirectChannelRegistrar.h"
       9             : 
      10             : #include "nsIChannel.h"
      11             : #include "nsIParentChannel.h"
      12             : #include "nsInterfaceHashtable.h"
      13             : #include "mozilla/Attributes.h"
      14             : #include "mozilla/Mutex.h"
      15             : 
      16             : namespace mozilla {
      17             : namespace net {
      18             : 
      19             : class RedirectChannelRegistrar final : public nsIRedirectChannelRegistrar
      20             : {
      21             :   NS_DECL_ISUPPORTS
      22             :   NS_DECL_NSIREDIRECTCHANNELREGISTRAR
      23             : 
      24             :   RedirectChannelRegistrar();
      25             : 
      26             : private:
      27           0 :   ~RedirectChannelRegistrar() {}
      28             : 
      29             : protected:
      30             :   typedef nsInterfaceHashtable<nsUint32HashKey, nsIChannel>
      31             :           ChannelHashtable;
      32             :   typedef nsInterfaceHashtable<nsUint32HashKey, nsIParentChannel>
      33             :           ParentChannelHashtable;
      34             : 
      35             :   ChannelHashtable mRealChannels;
      36             :   ParentChannelHashtable mParentChannels;
      37             :   uint32_t mId;
      38             :   Mutex mLock;
      39             : };
      40             : 
      41             : } // namespace net
      42             : } // namespace mozilla
      43             : 
      44             : #endif

Generated by: LCOV version 1.13