2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2010-08-17 20:19:24 -07:00
|
|
|
|
2010-09-15 15:55:08 -07:00
|
|
|
include protocol PContent;
|
2014-03-11 15:41:48 -07:00
|
|
|
include protocol PChannelDiverter;
|
2010-08-17 20:19:24 -07:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
|
|
|
protocol PExternalHelperApp
|
|
|
|
{
|
2010-09-15 15:55:08 -07:00
|
|
|
manager PContent;
|
2010-08-17 20:19:24 -07:00
|
|
|
|
|
|
|
parent:
|
2010-08-23 09:29:33 -07:00
|
|
|
OnStartRequest(nsCString entityID);
|
2012-09-05 19:41:02 -07:00
|
|
|
OnDataAvailable(nsCString data, uint64_t offset, uint32_t count);
|
2010-08-17 20:19:24 -07:00
|
|
|
OnStopRequest(nsresult code);
|
|
|
|
|
2014-03-11 15:41:48 -07:00
|
|
|
DivertToParentUsing(PChannelDiverter diverter);
|
|
|
|
|
2010-08-17 20:19:24 -07:00
|
|
|
child:
|
|
|
|
Cancel(nsresult aStatus);
|
|
|
|
__delete__();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|