LCOV - code coverage report
Current view: top level - dom/workers - ServiceWorkerUpdaterParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 9 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 file,
       5             :  * You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #include "ServiceWorkerUpdaterParent.h"
       8             : #include "ServiceWorkerManagerService.h"
       9             : 
      10             : namespace mozilla {
      11             : namespace dom {
      12             : namespace workers {
      13             : 
      14             : bool
      15           0 : ServiceWorkerUpdaterParent::Proceed(ServiceWorkerManagerService* aService)
      16             : {
      17           0 :   if (!SendProceed(true)) {
      18           0 :     return false;
      19             :   }
      20             : 
      21           0 :   mService = aService;
      22           0 :   return true;
      23             : }
      24             : 
      25             : void
      26           0 : ServiceWorkerUpdaterParent::ActorDestroy(ActorDestroyReason aWhy)
      27             : {
      28           0 :   if (mService) {
      29           0 :     mService->UpdaterActorDestroyed(this);
      30             :   }
      31           0 : }
      32             : 
      33             : } // namespace workers
      34             : } // namespace dom
      35             : } // namespace mozilla

Generated by: LCOV version 1.13