Index: modules/background_sync/PeriodicSyncRegistrationOptions.idl |
diff --git a/modules/background_sync/PeriodicSyncRegistrationOptions.idl b/modules/background_sync/PeriodicSyncRegistrationOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..97c0a8233df25f30be0f50b0e1c7213a3dee5f35 |
--- /dev/null |
+++ b/modules/background_sync/PeriodicSyncRegistrationOptions.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 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. |
+ |
+[ |
+ RuntimeEnabled=BackgroundSync, |
+] dictionary PeriodicSyncRegistrationOptions { |
+ DOMString tag; |
+ unsigned long minPeriod = 0; |
+ SyncNetworkState networkState = "network-online"; |
+ SyncPowerState powerState = "auto"; |
+}; |