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 WebBrowserPersistSerializeChild_h__
8 : #define WebBrowserPersistSerializeChild_h__
9 :
10 : #include "mozilla/PWebBrowserPersistSerializeChild.h"
11 :
12 : #include "mozilla/PWebBrowserPersistDocument.h"
13 : #include "nsIWebBrowserPersistDocument.h"
14 : #include "nsIOutputStream.h"
15 :
16 : namespace mozilla {
17 :
18 0 : class WebBrowserPersistSerializeChild final
19 : : public PWebBrowserPersistSerializeChild
20 : , public nsIWebBrowserPersistWriteCompletion
21 : , public nsIWebBrowserPersistURIMap
22 : , public nsIOutputStream
23 : {
24 : public:
25 : explicit WebBrowserPersistSerializeChild(const WebBrowserPersistURIMap& aMap);
26 :
27 : NS_DECL_NSIWEBBROWSERPERSISTWRITECOMPLETION
28 : NS_DECL_NSIWEBBROWSERPERSISTURIMAP
29 : NS_DECL_NSIOUTPUTSTREAM
30 : NS_DECL_ISUPPORTS
31 : private:
32 : WebBrowserPersistURIMap mMap;
33 :
34 : virtual ~WebBrowserPersistSerializeChild();
35 : };
36 :
37 : } // namespace mozilla
38 :
39 : #endif // WebBrowserPersistSerializeChild_h__
|