michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ michael@0: michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: include protocol PNecko; michael@0: michael@0: namespace mozilla { michael@0: namespace net { michael@0: michael@0: /** michael@0: * Protocol to support RemoteOpenFile, an nsIFile that opens it's file handle on michael@0: * the parent instead of the child (since child lacks permission to do so). michael@0: */ michael@0: protocol PRemoteOpenFile michael@0: { michael@0: manager PNecko; michael@0: michael@0: child: michael@0: // Your file handle is ready, Sir... michael@0: __delete__(FileDescriptor fd); michael@0: }; michael@0: michael@0: michael@0: } // namespace net michael@0: } // namespace mozilla