LCOV - code coverage report
Current view: top level - dom/base - ThirdPartyUtil.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             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       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 ThirdPartyUtil_h__
       8             : #define ThirdPartyUtil_h__
       9             : 
      10             : #include "nsCOMPtr.h"
      11             : #include "nsString.h"
      12             : #include "mozIThirdPartyUtil.h"
      13             : #include "nsIEffectiveTLDService.h"
      14             : #include "mozilla/Attributes.h"
      15             : 
      16             : class nsIURI;
      17             : 
      18           2 : class ThirdPartyUtil final : public mozIThirdPartyUtil
      19             : {
      20             : public:
      21             :   NS_DECL_ISUPPORTS
      22             :   NS_DECL_MOZITHIRDPARTYUTIL
      23             : 
      24             :   nsresult Init();
      25             : 
      26             : private:
      27           0 :   ~ThirdPartyUtil() {}
      28             : 
      29             :   nsresult IsThirdPartyInternal(const nsCString& aFirstDomain,
      30             :     nsIURI* aSecondURI, bool* aResult);
      31             : 
      32             :   nsCOMPtr<nsIEffectiveTLDService> mTLDService;
      33             : };
      34             : 
      35             : #endif
      36             : 

Generated by: LCOV version 1.13