LCOV - code coverage report
Current view: top level - netwerk/protocol/file - FileChannelParent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /* vim: set ts=4 sw=4 sts=4 et 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__net__FileChannelParent_h
       8             : #define mozilla__net__FileChannelParent_h
       9             : 
      10             : #include "nsIParentChannel.h"
      11             : #include "nsISupportsImpl.h"
      12             : 
      13             : #include "mozilla/net/PFileChannelParent.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace net {
      17             : 
      18             : // In order to support HTTP redirects to file:, we need to implement the HTTP
      19             : // redirection API, which requires a class that implements nsIParentChannel
      20             : // and which calls NS_LinkRedirectChannels.
      21           0 : class FileChannelParent : public nsIParentChannel
      22             :                         , public PFileChannelParent
      23             : {
      24             : public:
      25             :   NS_DECL_ISUPPORTS
      26             :   NS_DECL_NSIPARENTCHANNEL
      27             :   NS_DECL_NSIREQUESTOBSERVER
      28             :   NS_DECL_NSISTREAMLISTENER
      29             : 
      30             :   MOZ_MUST_USE bool Init(const uint32_t& aArgs);
      31             : 
      32             : private:
      33             :   ~FileChannelParent();
      34             : 
      35             :   virtual void ActorDestroy(ActorDestroyReason why) override;
      36             : };
      37             : 
      38             : } // namespace net
      39             : } // namespace mozilla
      40             : 
      41             : #endif /* mozilla__net__FileChannelParent_h */

Generated by: LCOV version 1.13