LCOV - code coverage report
Current view: top level - dom/cache - SavedTypes.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 4 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 6 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_cache_SavedTypes_h
       8             : #define mozilla_dom_cache_SavedTypes_h
       9             : 
      10             : // NOTE: This cannot be rolled into Types.h because the IPC dependency.
      11             : //       breaks webidl unified builds.
      12             : 
      13             : #include "mozilla/dom/cache/CacheTypes.h"
      14             : #include "mozilla/dom/cache/Types.h"
      15             : #include "nsCOMPtr.h"
      16             : #include "nsID.h"
      17             : #include "nsIOutputStream.h"
      18             : 
      19             : namespace mozilla {
      20             : namespace dom {
      21             : namespace cache {
      22             : 
      23           0 : struct SavedRequest
      24             : {
      25           0 :   SavedRequest() : mHasBodyId(false) { mValue.body() = void_t(); }
      26             :   CacheRequest mValue;
      27             :   bool mHasBodyId;
      28             :   nsID mBodyId;
      29             :   CacheId mCacheId;
      30             : };
      31             : 
      32           0 : struct SavedResponse
      33             : {
      34           0 :   SavedResponse() : mHasBodyId(false) { mValue.body() = void_t(); }
      35             :   CacheResponse mValue;
      36             :   bool mHasBodyId;
      37             :   nsID mBodyId;
      38             :   CacheId mCacheId;
      39             : };
      40             : 
      41             : } // namespace cache
      42             : } // namespace dom
      43             : } // namespace mozilla
      44             : 
      45             : #endif // mozilla_dom_cache_SavedTypes_h

Generated by: LCOV version 1.13