LCOV - code coverage report
Current view: top level - dom/workers - ServiceWorkerJobQueue.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 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: 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_workers_serviceworkerjobqueue_h
       8             : #define mozilla_dom_workers_serviceworkerjobqueue_h
       9             : 
      10             : #include "mozilla/RefPtr.h"
      11             : #include "nsTArray.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : namespace workers {
      16             : 
      17             : class ServiceWorkerJob;
      18             : 
      19             : class ServiceWorkerJobQueue final
      20             : {
      21             :   class Callback;
      22             : 
      23             :   nsTArray<RefPtr<ServiceWorkerJob>> mJobList;
      24             : 
      25             :   ~ServiceWorkerJobQueue();
      26             : 
      27             :   void
      28             :   JobFinished(ServiceWorkerJob* aJob);
      29             : 
      30             :   void
      31             :   RunJob();
      32             : 
      33             : public:
      34             :   ServiceWorkerJobQueue();
      35             : 
      36             :   void
      37             :   ScheduleJob(ServiceWorkerJob* aJob);
      38             : 
      39             :   void
      40             :   CancelAll();
      41             : 
      42           0 :   NS_INLINE_DECL_REFCOUNTING(ServiceWorkerJobQueue)
      43             : };
      44             : 
      45             : } // namespace workers
      46             : } // namespace dom
      47             : } // namespace mozilla
      48             : 
      49             : #endif // mozilla_dom_workers_serviceworkerjobqueue_h

Generated by: LCOV version 1.13