summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/PFetchEventOpProxy.ipdl
blob: b63b2253a97cf0e2ef075175183f23ca8a3a740d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* 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/. */

include protocol PRemoteWorker;

include ServiceWorkerOpArgs;
include FetchTypes;

namespace mozilla {
namespace dom {

protocol PFetchEventOpProxy {
  manager PRemoteWorker;

 parent:
  async AsyncLog(nsCString aScriptSpec, uint32_t aLineNumber,
                 uint32_t aColumnNumber, nsCString aMessageName,
                 nsString[] aParams);

  async RespondWith(ChildToParentFetchEventRespondWithResult aResult);

  async __delete__(ServiceWorkerFetchEventOpResult aResult);

 child:
  async PreloadResponse(ParentToChildInternalResponse aResponse);

  async PreloadResponseTiming(ResponseTiming aTiming);

  async PreloadResponseEnd(ResponseEndArgs aArgs);
};

}  // namespace dom
}  // namespace mozilla