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

          Line data    Source code
       1             : /* -*-  Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
       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 <string.h>
       7             : 
       8             : #include "nscore.h"
       9             : 
      10             : #include "nsID.h"
      11             : #include "nsIComponentManager.h"
      12             : #include "nsIServiceManager.h"
      13             : #include "nsCOMPtr.h"
      14             : #include "nsIModule.h"
      15             : #include "mozilla/ModuleUtils.h"
      16             : #include "mozilla/scache/StartupCache.h"
      17             : 
      18             : using namespace mozilla::scache;
      19             : 
      20             : // XXX Need help with guard for ENABLE_TEST
      21           0 : NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(StartupCacheWrapper,
      22             :                                          StartupCacheWrapper::GetSingleton)
      23             : NS_DEFINE_NAMED_CID(NS_STARTUPCACHE_CID);
      24             : 
      25             : static const mozilla::Module::CIDEntry kStartupCacheCIDs[] = {
      26             :     { &kNS_STARTUPCACHE_CID, false, nullptr, StartupCacheWrapperConstructor },
      27             :     { nullptr }
      28             : };
      29             : 
      30             : static const mozilla::Module::ContractIDEntry kStartupCacheContracts[] = {
      31             :     { "@mozilla.org/startupcache/cache;1", &kNS_STARTUPCACHE_CID },
      32             :     { nullptr }
      33             : };
      34             : 
      35             : static const mozilla::Module kStartupCacheModule = {
      36             :     mozilla::Module::kVersion,
      37             :     kStartupCacheCIDs,
      38             :     kStartupCacheContracts,
      39             :     nullptr,
      40             :     nullptr,
      41             :     nullptr,
      42             :     nullptr
      43             : };
      44             : 
      45             : NSMODULE_DEFN(StartupCacheModule) = &kStartupCacheModule;

Generated by: LCOV version 1.13