LCOV - code coverage report
Current view: top level - dom/workers - ServiceWorkerCommon.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_ServiceWorkerCommon_h
       8             : #define mozilla_dom_ServiceWorkerCommon_h
       9             : 
      10             : namespace mozilla {
      11             : namespace dom {
      12             : 
      13             : // Use multiples of 2 since they can be bitwise ORed when calling
      14             : // InvalidateServiceWorkerRegistrationWorker.
      15             : enum class WhichServiceWorker {
      16             :   INSTALLING_WORKER = 1,
      17             :   WAITING_WORKER    = 2,
      18             :   ACTIVE_WORKER     = 4,
      19             : };
      20           0 : MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS(WhichServiceWorker)
      21             : 
      22             : } // namespace dom
      23             : } // namespace mozilla
      24             : 
      25             : #endif // mozilla_dom_ServiceWorkerCommon_h

Generated by: LCOV version 1.13