Index: third_party/WebKit/Source/modules/background_fetch/ServiceWorkerRegistrationBackgroundFetch.idl |
diff --git a/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerRegistrationBackgroundFetch.idl b/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerRegistrationBackgroundFetch.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d0ffdcb0cb0320d44c3d7fc82323f82548597f2 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/background_fetch/ServiceWorkerRegistrationBackgroundFetch.idl |
@@ -0,0 +1,12 @@ |
+// 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/#extensions-to-service-worker-registration |
+ |
+[ |
+ Exposed=(Window,Worker), |
+ RuntimeEnabled=BackgroundFetch |
+] partial interface ServiceWorkerRegistration { |
+ readonly attribute BackgroundFetchManager backgroundFetch; |
+}; |