LCOV - code coverage report
Current view: top level - dom/filesystem - FileSystemRequestParent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 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_FileSystemRequestParent_h
       8             : #define mozilla_dom_FileSystemRequestParent_h
       9             : 
      10             : #include "mozilla/dom/PFileSystemRequestParent.h"
      11             : #include "mozilla/dom/FileSystemBase.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : 
      16             : class FileSystemParams;
      17             : class FileSystemTaskParentBase;
      18             : 
      19             : class FileSystemRequestParent final : public PFileSystemRequestParent
      20             : {
      21           0 :   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(FileSystemRequestParent)
      22             : 
      23             : public:
      24             :   FileSystemRequestParent();
      25             : 
      26             :   bool
      27             :   Initialize(const FileSystemParams& aParams);
      28             : 
      29             :   void
      30             :   Start();
      31             : 
      32           0 :   bool Destroyed() const
      33             :   {
      34           0 :     return mDestroyed;
      35             :   }
      36             : 
      37             :   virtual void
      38             :   ActorDestroy(ActorDestroyReason why) override;
      39             : 
      40             : private:
      41             :   ~FileSystemRequestParent();
      42             : 
      43             :   RefPtr<FileSystemBase> mFileSystem;
      44             :   RefPtr<FileSystemTaskParentBase> mTask;
      45             : 
      46             :   bool mDestroyed;
      47             : };
      48             : 
      49             : } // namespace dom
      50             : } // namespace mozilla
      51             : 
      52             : #endif // mozilla_dom_FileSystemRequestParent_h

Generated by: LCOV version 1.13