LCOV - code coverage report
Current view: top level - dom/webbrowserpersist - WebBrowserPersistLocalDocument.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 9 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 WebBrowserPersistLocalDocument_h__
       8             : #define WebBrowserPersistLocalDocument_h__
       9             : 
      10             : #include "nsCOMPtr.h"
      11             : #include "nsCycleCollectionParticipant.h"
      12             : #include "nsIDocument.h"
      13             : #include "nsIURI.h"
      14             : #include "nsIWebBrowserPersistDocument.h"
      15             : 
      16             : class nsIDocumentEncoder;
      17             : class nsISHEntry;
      18             : 
      19             : namespace mozilla {
      20             : 
      21           0 : class WebBrowserPersistLocalDocument final
      22             :     : public nsIWebBrowserPersistDocument
      23             : {
      24             : public:
      25             :     explicit WebBrowserPersistLocalDocument(nsIDocument* aDocument);
      26             : 
      27             :     NotNull<const Encoding*> GetCharacterSet() const;
      28             :     uint32_t GetPersistFlags() const;
      29             :     already_AddRefed<nsIURI> GetBaseURI() const;
      30             : 
      31             :     NS_DECL_CYCLE_COLLECTING_ISUPPORTS
      32             :     NS_DECL_NSIWEBBROWSERPERSISTDOCUMENT
      33             : 
      34           0 :     NS_DECL_CYCLE_COLLECTION_CLASS(WebBrowserPersistLocalDocument)
      35             : 
      36             : private:
      37             :     nsCOMPtr<nsIDocument> mDocument;
      38             :     uint32_t mPersistFlags;
      39             : 
      40             :     void DecideContentType(nsACString& aContentType);
      41             :     nsresult GetDocEncoder(const nsACString& aContentType,
      42             :                            uint32_t aEncoderFlags,
      43             :                            nsIDocumentEncoder** aEncoder);
      44             :     already_AddRefed<nsISHEntry> GetHistory();
      45             : 
      46             :     virtual ~WebBrowserPersistLocalDocument();
      47             : };
      48             : 
      49             : } // namespace mozilla
      50             : 
      51             : #endif // WebBrowserPersistLocalDocument_h__

Generated by: LCOV version 1.13