1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 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/. */
7 #ifndef WebBrowserPersistSerializeChild_h__
8 #define WebBrowserPersistSerializeChild_h__
10 #include "mozilla/PWebBrowserPersistSerializeChild.h"
12 #include "mozilla/PWebBrowserPersistDocument.h"
13 #include "nsIWebBrowserPersistDocument.h"
14 #include "nsIOutputStream.h"
18 class WebBrowserPersistSerializeChild final
19 : public PWebBrowserPersistSerializeChild
,
20 public nsIWebBrowserPersistWriteCompletion
,
21 public nsIWebBrowserPersistURIMap
,
22 public nsIOutputStream
{
24 explicit WebBrowserPersistSerializeChild(const WebBrowserPersistURIMap
& aMap
);
26 NS_DECL_NSIWEBBROWSERPERSISTWRITECOMPLETION
27 NS_DECL_NSIWEBBROWSERPERSISTURIMAP
28 NS_DECL_NSIOUTPUTSTREAM
31 WebBrowserPersistURIMap mMap
;
33 virtual ~WebBrowserPersistSerializeChild();
36 } // namespace mozilla
38 #endif // WebBrowserPersistSerializeChild_h__