LCOV - code coverage report
Current view: top level - toolkit/components/jsdownloads/src - DownloadPlatform.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 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 __DownloadPlatform_h__
       6             : #define __DownloadPlatform_h__
       7             : 
       8             : #include "mozIDownloadPlatform.h"
       9             : 
      10             : #include "nsCOMPtr.h"
      11             : class nsIURI;
      12             : 
      13             : class DownloadPlatform : public mozIDownloadPlatform
      14             : {
      15             : protected:
      16             : 
      17           0 :   virtual ~DownloadPlatform() { }
      18             : 
      19             : public:
      20             : 
      21             :   NS_DECL_ISUPPORTS
      22             :   NS_DECL_MOZIDOWNLOADPLATFORM
      23             : 
      24           0 :   DownloadPlatform() { }
      25             : 
      26             :   static DownloadPlatform *gDownloadPlatformService;
      27             : 
      28             :   static DownloadPlatform* GetDownloadPlatform();
      29             : 
      30             : private:
      31             :   static bool IsURLPossiblyFromWeb(nsIURI* aURI);
      32             : };
      33             : 
      34             : #endif

Generated by: LCOV version 1.13