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

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : 
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef mozilla_net_ARefBase_h
       8             : #define mozilla_net_ARefBase_h
       9             : 
      10             : #include "nscore.h"
      11             : 
      12             : namespace mozilla { namespace net {
      13             : 
      14             : // This is an abstract class that can be pointed to by either
      15             : // nsCOMPtr or nsRefPtr. nsHttpConnectionMgr uses it for generic
      16             : // objects that need to be reference counted - similiar to nsISupports
      17             : // but it may or may not be xpcom.
      18             : 
      19             : class ARefBase
      20             : {
      21             : public:
      22          24 :   ARefBase() {}
      23          19 :   virtual ~ARefBase() {}
      24             : 
      25             :   NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING
      26             : };
      27             : 
      28             : } // namespace net
      29             : } // namespace mozilla
      30             : 
      31             : #endif

Generated by: LCOV version 1.13