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

Side by Side Diff: Source/modules/background_sync/SyncManager.idl

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing serviceWorkerRegistration.syncManager to interface tests Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 Exposed=(Window,ServiceWorker),
7 GarbageCollected,
8 RuntimeEnabled=BackgroundSync,
9 TypeChecking=Interface,
10 ] interface SyncManager {
11 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati on> register(optional SyncRegistrationOptions options);
12 [CallWith=ScriptState] Promise<SyncRegistration> getRegistration(DOMString i d);
13 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations( );
14 readonly attribute unsigned long minAllowablePeriod;
15 };
OLDNEW
« no previous file with comments | « Source/modules/background_sync/SyncManager.cpp ('k') | Source/modules/background_sync/SyncRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698