LCOV - code coverage report
Current view: top level - xpfe/components/build - nsModule.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #include "mozilla/ModuleUtils.h"
       7             : #include "nsDirectoryViewer.h"
       8             : #include "rdf.h"
       9             : #include "nsRDFCID.h"
      10             : #include "nsCURILoader.h"
      11             : 
      12             : // Factory constructors
      13           0 : NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsHTTPIndex, Init)
      14           0 : NS_GENERIC_FACTORY_CONSTRUCTOR(nsDirectoryViewerFactory)
      15             : 
      16             : NS_DEFINE_NAMED_CID(NS_DIRECTORYVIEWERFACTORY_CID);
      17             : NS_DEFINE_NAMED_CID(NS_HTTPINDEX_SERVICE_CID);
      18             : 
      19             : static const mozilla::Module::CIDEntry kXPFECIDs[] = {
      20             :     { &kNS_DIRECTORYVIEWERFACTORY_CID, false, nullptr, nsDirectoryViewerFactoryConstructor },
      21             :     { &kNS_HTTPINDEX_SERVICE_CID, false, nullptr, nsHTTPIndexConstructor },
      22             :     { nullptr }
      23             : };
      24             : 
      25             : static const mozilla::Module::ContractIDEntry kXPFEContracts[] = {
      26             :     { "@mozilla.org/xpfe/http-index-format-factory-constructor", &kNS_DIRECTORYVIEWERFACTORY_CID },
      27             :     { NS_HTTPINDEX_SERVICE_CONTRACTID, &kNS_HTTPINDEX_SERVICE_CID },
      28             :     { NS_HTTPINDEX_DATASOURCE_CONTRACTID, &kNS_HTTPINDEX_SERVICE_CID },
      29             :     { nullptr }
      30             : };
      31             : 
      32             : static const mozilla::Module::CategoryEntry kXPFECategories[] = {
      33             :     { "Gecko-Content-Viewers", "application/http-index-format", "@mozilla.org/xpfe/http-index-format-factory-constructor" },
      34             :     { nullptr }
      35             : };
      36             : 
      37             : static const mozilla::Module kXPFEModule = {
      38             :     mozilla::Module::kVersion,
      39             :     kXPFECIDs,
      40             :     kXPFEContracts,
      41             :     kXPFECategories
      42             : };
      43             : 
      44             : NSMODULE_DEFN(application) = &kXPFEModule;

Generated by: LCOV version 1.13