LCOV - code coverage report
Current view: top level - dom/webbrowserpersist - WebBrowserPersistDocumentChild.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: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
       2             :  *
       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 WebBrowserPersistDocumentChild_h__
       8             : #define WebBrowserPersistDocumentChild_h__
       9             : 
      10             : #include "mozilla/PWebBrowserPersistDocumentChild.h"
      11             : #include "nsCOMPtr.h"
      12             : #include "nsIWebBrowserPersistDocument.h"
      13             : 
      14             : class nsIDocument;
      15             : 
      16             : namespace mozilla {
      17             : 
      18           0 : class WebBrowserPersistDocumentChild final
      19             :     : public PWebBrowserPersistDocumentChild
      20             : {
      21             : public:
      22             :     WebBrowserPersistDocumentChild();
      23             :     ~WebBrowserPersistDocumentChild();
      24             : 
      25             :     // This sends either Attributes or InitFailure and thereby causes
      26             :     // the actor to leave the START state.
      27             :     void Start(nsIWebBrowserPersistDocument* aDocument);
      28             :     void Start(nsIDocument* aDocument);
      29             : 
      30             :     virtual mozilla::ipc::IPCResult
      31             :     RecvSetPersistFlags(const uint32_t& aNewFlags) override;
      32             : 
      33             :     virtual PWebBrowserPersistResourcesChild*
      34             :     AllocPWebBrowserPersistResourcesChild() override;
      35             :     virtual mozilla::ipc::IPCResult
      36             :     RecvPWebBrowserPersistResourcesConstructor(PWebBrowserPersistResourcesChild* aActor) override;
      37             :     virtual bool
      38             :     DeallocPWebBrowserPersistResourcesChild(PWebBrowserPersistResourcesChild* aActor) override;
      39             : 
      40             :     virtual PWebBrowserPersistSerializeChild*
      41             :     AllocPWebBrowserPersistSerializeChild(
      42             :             const WebBrowserPersistURIMap& aMap,
      43             :             const nsCString& aRequestedContentType,
      44             :             const uint32_t& aEncoderFlags,
      45             :             const uint32_t& aWrapColumn) override;
      46             :     virtual mozilla::ipc::IPCResult
      47             :     RecvPWebBrowserPersistSerializeConstructor(
      48             :             PWebBrowserPersistSerializeChild* aActor,
      49             :             const WebBrowserPersistURIMap& aMap,
      50             :             const nsCString& aRequestedContentType,
      51             :             const uint32_t& aEncoderFlags,
      52             :             const uint32_t& aWrapColumn) override;
      53             :     virtual bool
      54             :     DeallocPWebBrowserPersistSerializeChild(PWebBrowserPersistSerializeChild* aActor) override;
      55             : 
      56             : private:
      57             :     nsCOMPtr<nsIWebBrowserPersistDocument> mDocument;
      58             : };
      59             : 
      60             : } // namespace mozilla
      61             : 
      62             : #endif // WebBrowserPersistDocumentChild_h__

Generated by: LCOV version 1.13