Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1708)

Unified Diff: Source/modules/background_sync/SyncRegistrationOptions.idl

Issue 1096503002: [Background Sync] Converting Blink code to the MVP API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Unregister method requires the sync registration tag Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/background_sync/SyncRegistration.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/SyncRegistrationOptions.idl
diff --git a/Source/modules/background_sync/SyncRegistrationOptions.idl b/Source/modules/background_sync/SyncRegistrationOptions.idl
index 0939ee07964495e2f73729c836f42395086d2dbb..6e1abbcb4db81dfa3d24b171962b870c4c0b7f68 100644
--- a/Source/modules/background_sync/SyncRegistrationOptions.idl
+++ b/Source/modules/background_sync/SyncRegistrationOptions.idl
@@ -2,21 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-enum SyncNetworkType {
- "network-any",
- "network-offline",
- "network-online",
- "network-non-mobile",
-};
-
[
- RuntimeEnabled=BackgroundSync,
+ RuntimeEnabled=BackgroundSyncV2,
] dictionary SyncRegistrationOptions {
- DOMString id;
- unsigned long minDelay = 0;
- unsigned long maxDelay = 0;
- unsigned long minPeriod = 0;
- SyncNetworkType minRequiredNetwork = "network-online";
- boolean allowOnBattery = true;
- boolean idleRequired = false;
+ DOMString tag;
};
« no previous file with comments | « Source/modules/background_sync/SyncRegistration.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698