netwerk/ipc/RemoteOpenFileParent.h
author Gaia Pushbot <release+gaiajson@mozilla.com>
Tue, 01 Oct 2013 03:55:23 -0700
changeset 149487 95044a2054536643e3ddcc2f89fe6ea374bea406
parent 122137 331e2dcd93d7fc93d4eae8f7c2c00920886c1f00
child 181397 023830b8ad98412b2d004421f2034390f0dde2da
permissions -rw-r--r--
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/e718a6b92432 Author: Amir Nissim <amirnissim@gmail.com> Desc: Merge pull request #12532 from EverythingMe/911022-save-search Bug 911022 - [e.me][feature] Enable search saving ======== https://hg.mozilla.org/integration/gaia-central/rev/e359357987b7 Author: Amir Nissim <amirn@everything.me> Desc: Bug 911022 - [e.me][feature] Enable search saving [r=ranbena]

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et tw=80 : */

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_net_RemoteOpenFileParent_h
#define mozilla_net_RemoteOpenFileParent_h

#include "mozilla/net/PRemoteOpenFileParent.h"
#include "mozilla/net/NeckoCommon.h"
#include "nsIFileURL.h"

namespace mozilla {
namespace net {

class RemoteOpenFileParent : public PRemoteOpenFileParent
{
public:
  RemoteOpenFileParent(nsIFileURL* aURI)
  : mURI(aURI)
  {}

  bool OpenSendCloseDelete();

private:
  nsCOMPtr<nsIFileURL> mURI;
};

} // namespace net
} // namespace mozilla

#endif // mozilla_net_RemoteOpenFileParent_h