LCOV - code coverage report
Current view: top level - dom/time - TimeService.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             : /* -*- 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 mozilla_dom_time_TimeService_h
       8             : #define mozilla_dom_time_TimeService_h
       9             : 
      10             : #include "mozilla/StaticPtr.h"
      11             : #include "nsITimeService.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : namespace time {
      16             : 
      17             : /**
      18             :  * This class implements a service which lets us modify the system clock time.
      19             :  */
      20           0 : class TimeService : public nsITimeService
      21             : {
      22             : public:
      23             :   NS_DECL_ISUPPORTS
      24             :   NS_DECL_NSITIMESERVICE
      25             : 
      26             :   static already_AddRefed<TimeService> GetInstance();
      27             : 
      28             : private:
      29           0 :   virtual ~TimeService() {};
      30             : 
      31             :   static StaticRefPtr<TimeService> sSingleton;
      32             : };
      33             : 
      34             : } // namespace time
      35             : } // namespace dom
      36             : } // namespace mozilla
      37             : 
      38             : #endif //mozilla_dom_time_TimeService_h

Generated by: LCOV version 1.13