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 PContent; michael@0: include protocol PChannelDiverter; michael@0: michael@0: namespace mozilla { michael@0: namespace dom { michael@0: michael@0: protocol PExternalHelperApp michael@0: { michael@0: manager PContent; michael@0: michael@0: parent: michael@0: OnStartRequest(nsCString entityID); michael@0: OnDataAvailable(nsCString data, uint64_t offset, uint32_t count); michael@0: OnStopRequest(nsresult code); michael@0: michael@0: DivertToParentUsing(PChannelDiverter diverter); michael@0: michael@0: child: michael@0: Cancel(nsresult aStatus); michael@0: __delete__(); michael@0: }; michael@0: michael@0: michael@0: } // namespace dom michael@0: } // namespace mozilla