Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.idl |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.idl b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae2a7f151aa3733c882dea76d2e919125af6cd0a |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchSettledRequest.idl |
@@ -0,0 +1,15 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://wicg.github.io/background-fetch/#backgroundfetchsettledfetches |
+// TODO(peter): Update either the above link or the name of this interface based |
+// on the outcome of https://github.com/WICG/background-fetch/issues/32. |
+ |
+[ |
+ Constructor(Request request, Response response), |
+ Exposed=ServiceWorker, |
+ RuntimeEnabled=BackgroundFetch |
+] interface BackgroundFetchSettledRequest : BackgroundFetchRequest { |
+ readonly attribute Response? response; |
+}; |