Bug 1614879 [wpt PR 21750] - Set request mode for beacon request with non-cors-safeli...
[gecko.git] / widget / nsPrintSession.h
blob35fe11973a626052dd8039220bc4eb21afb74e70
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsPrintSession_h__
7 #define nsPrintSession_h__
9 #include "nsIPrintSession.h"
11 #include "mozilla/RefPtr.h"
12 #include "nsWeakReference.h"
14 namespace mozilla {
15 namespace layout {
16 class RemotePrintJobChild;
18 } // namespace mozilla
20 //*****************************************************************************
21 //*** nsPrintSession
22 //*****************************************************************************
24 class nsPrintSession : public nsIPrintSession, public nsSupportsWeakReference {
25 virtual ~nsPrintSession();
27 public:
28 NS_DECL_ISUPPORTS
29 NS_DECL_NSIPRINTSESSION
31 nsPrintSession();
33 virtual nsresult Init();
35 private:
36 RefPtr<mozilla::layout::RemotePrintJobChild> mRemotePrintJob;
39 #endif // nsPrintSession_h__