netwerk/ipc/RemoteOpenFileParent.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/ipc/RemoteOpenFileParent.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* vim: set sw=2 ts=8 et tw=80 : */
     1.6 +
     1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    1.10 +
    1.11 +#ifndef mozilla_net_RemoteOpenFileParent_h
    1.12 +#define mozilla_net_RemoteOpenFileParent_h
    1.13 +
    1.14 +#include "mozilla/net/PRemoteOpenFileParent.h"
    1.15 +#include "mozilla/net/NeckoCommon.h"
    1.16 +#include "nsIFileURL.h"
    1.17 +
    1.18 +namespace mozilla {
    1.19 +namespace net {
    1.20 +
    1.21 +class RemoteOpenFileParent : public PRemoteOpenFileParent
    1.22 +{
    1.23 +public:
    1.24 +  RemoteOpenFileParent(nsIFileURL* aURI)
    1.25 +  : mURI(aURI)
    1.26 +  {}
    1.27 +
    1.28 +  bool OpenSendCloseDelete();
    1.29 +
    1.30 +private:
    1.31 +  nsCOMPtr<nsIFileURL> mURI;
    1.32 +};
    1.33 +
    1.34 +} // namespace net
    1.35 +} // namespace mozilla
    1.36 +
    1.37 +#endif // mozilla_net_RemoteOpenFileParent_h

mercurial