LCOV - code coverage report
Current view: top level - docshell/base - nsWebNavigationInfo.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 nsWebNavigationInfo_h__
       8             : #define nsWebNavigationInfo_h__
       9             : 
      10             : #include "nsIWebNavigationInfo.h"
      11             : #include "nsCOMPtr.h"
      12             : #include "nsICategoryManager.h"
      13             : #include "mozilla/Attributes.h"
      14             : 
      15             : class nsCString;
      16             : 
      17             : #define NS_WEBNAVIGATION_INFO_CID \
      18             :  { 0xf30bc0a2, 0x958b, 0x4287,{0xbf, 0x62, 0xce, 0x38, 0xba, 0x0c, 0x81, 0x1e}}
      19             : 
      20             : class nsWebNavigationInfo final : public nsIWebNavigationInfo
      21             : {
      22             : public:
      23           2 :   nsWebNavigationInfo() {}
      24             : 
      25             :   NS_DECL_ISUPPORTS
      26             : 
      27             :   NS_DECL_NSIWEBNAVIGATIONINFO
      28             : 
      29             :   nsresult Init();
      30             : 
      31             : private:
      32           0 :   ~nsWebNavigationInfo() {}
      33             : 
      34             :   // Check whether aType is supported.  If this method throws, the
      35             :   // value of aIsSupported is not changed.
      36             :   nsresult IsTypeSupportedInternal(const nsCString& aType,
      37             :                                    uint32_t* aIsSupported);
      38             : 
      39             :   nsCOMPtr<nsICategoryManager> mCategoryManager;
      40             : };
      41             : 
      42             : #endif  // nsWebNavigationInfo_h__

Generated by: LCOV version 1.13