OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 Exposed=(Window, ServiceWorker), | |
7 RuntimeEnabled=BackgroundSync, | 6 RuntimeEnabled=BackgroundSync, |
8 ] partial interface ServiceWorkerRegistration { | 7 ] dictionary PeriodicSyncRegistrationOptions { |
9 [MeasureAs=BackgroundSync] readonly attribute SyncManager syncManager; | 8 DOMString tag; |
| 9 unsigned long minPeriod = 0; |
| 10 SyncNetworkState networkState = "network-online"; |
| 11 SyncPowerState powerState = "auto"; |
10 }; | 12 }; |
OLD | NEW |