LCOV - code coverage report
Current view: top level - toolkit/components/finalizationwitness - FinalizationWitnessService.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 2 50.0 %
Date: 2017-07-14 16:53:18 Functions: 1 2 50.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 file,
       3             :  * You can obtain one at http://mozilla.org/MPL/2.0/. */
       4             : 
       5             : #ifndef mozilla_finalizationwitnessservice_h__
       6             : #define mozilla_finalizationwitnessservice_h__
       7             : 
       8             : #include "nsIFinalizationWitnessService.h"
       9             : #include "nsIObserver.h"
      10             : 
      11             : namespace mozilla {
      12             : 
      13             : /**
      14             :  * XPConnect initializer, for use in the main thread.
      15             :  */
      16           1 : class FinalizationWitnessService final : public nsIFinalizationWitnessService,
      17             :                                          public nsIObserver
      18             : {
      19             :  public:
      20             :   NS_DECL_ISUPPORTS
      21             :   NS_DECL_NSIFINALIZATIONWITNESSSERVICE
      22             :   NS_DECL_NSIOBSERVER
      23             : 
      24             :   nsresult Init();
      25             :  private:
      26           0 :   ~FinalizationWitnessService() {}
      27             :   void operator=(const FinalizationWitnessService* other) = delete;
      28             : };
      29             : 
      30             : } // namespace mozilla
      31             : 
      32             : #endif // mozilla_finalizationwitnessservice_h__

Generated by: LCOV version 1.13